![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Vlookup/if
Hello,
This what I'm doing. VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) Or =VLOOKUP(Sequioa!A:A,MBS!A:A,1,FALSE) There are 3 worksheets: 1. Sequoia 2. MBS 3. Result I am trying to compare sequoia worksheet’s values to that of MBS, if it exists in both I want it to print that value or entire in the result worksheet. Also I need to do this for each value (each row), create a loop somehow. Thank you, Your help is greatly appreciated. Wes Your help is greatly appreciated. Wes |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Folding Along
|
Re: Vlookup/if
=VLOOKUP(Sequoia!A1,MBS!A:A,1,FALSE)
Will show the values for items in Sequoia and also in MBS with an #N/A for items in Sequoia and not MBS. =VLOOKUP(MBS!A1,Sequoia!A:A,1,FALSE) Will show the values for items in MBS and also in Sequoia with an "N/A for items in MSB and not in Sequoia.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity Interested in Search and Rescue? Check out the Civil Air Patrol. Come Fold with us. TSF Folding@Home Team |
|
|
|
|
|
#4 (permalink) |
|
Folding Along
|
Re: Vlookup/if
If the data are numeric, and positive, you can use
=IF(VLOOKUP(Sequoia!A1,MBS!A:A,1,FALSE)>0,Sequoia!A1," ") This should give you the value for the matching entries without the "N/A" where the entries don't match. If I get a chance I'll experiment with this and see if I can find a better solution. You might end up needing a macro, though and I haven't done much macro work yet.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity Interested in Search and Rescue? Check out the Civil Air Patrol. Come Fold with us. TSF Folding@Home Team |
|
|
|
|
|
#5 (permalink) |
|
Registered User
|
Re: Vlookup/if
=VLOOKUP(Sequioa!A1,MBS!A:A,1,FALSE)
In english to me this means compare sequioa A1's value to that of mbs's entire a column, if there is an exact match found spit out that value on result worksheet, if not, spit out N/A. Is this correct? I click and drag the formula down to other cells and it basically does what i wanted. certain cells spit out data others say n/a. thanks again. |
|
|
|
|
|
#6 (permalink) |
|
Folding Along
|
Re: Vlookup/if
Yep. That's what it does.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity Interested in Search and Rescue? Check out the Civil Air Patrol. Come Fold with us. TSF Folding@Home Team |
|
|
|
|
|
#8 (permalink) |
|
Folding Along
|
Re: Vlookup/if
You might want to look into migrating to Access for data sets that large.You can still use your Excel spreadsheets as base tables by linking them into Access, but you would do your comparisons and generate a results table with only the results (none of those N/A's in it). This could then be output to Excel if you need the results there.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity Interested in Search and Rescue? Check out the Civil Air Patrol. Come Fold with us. TSF Folding@Home Team |
|
|
|
![]() |
| Thread Tools | |
|
|