IF statement in excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create an IF statement that will;

Search all of row C: C: on worksheet 3 for a number that matches cell Y on
worksheet 1

Then pull the content of cell Z on sheet 3 and display it in a cell
designated on the same column as Cell Y

OR

Better yet using the SQL tool in Excel how can I merge 2 query’s results
from 2 different databases combine the matching results then display them

Unfortunately there are 2 DBs that I require data from in which I need to
match the result list of both query’s and include the relevant data. I can
match the data by the same part numbers that exist in both DBs


Thanks in advance
 
You don't say which cell in column Y on sheet 1 so this assumes Y1
Put this on sheet 3
=VLOOKUP(Sheet1!Y1,Sheet3!C1:Z1000,24)

Mike
 
Thanks seemed to of done the trick, one more questions, for the results that
dont have a value I am getting #NA how do I get rid of that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top