Help on Lookup formula

dracron

New Member
Joined
Jan 10, 2014
Messages
32
Im stuck!
What I am trying to do:
If cells from spreadsheet1: C1 and E1, match cells on spreadsheet2:C1 and D1 it will show spreadsheet2s data from cell E1.

Thank you in advanced for your help.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
  1. To be more specific:
Spreadsheet1: C1(name) and E1(state)
Spreadsheet2: C1(name) and D1(state)
Spreadsheet2: E1(Lic #)
 
Upvote 0
Thank you for your help, but it didnt work, and I am not sure why. It just gives me a false when I know there a many that match.
 
Upvote 0
Thanks OTOTO but the same thing happens just instead of false there is now a 0. Not sure why this is happening as I know C1 should return a result.
I want the data from E1 to pull over.
 
Last edited:
Upvote 0
Thanks OTOTO but the same thing happens just instead of false there is now a 0. Not sure why this is happening as I know C1 should return a result.
I want the data from E1 to pull over.

I threw the formula into a test spreadsheet and didn't have a problem.
are the cell values in the same format?
did you rename the sheets?
double check the column names?
is there another way (create a third sheet with information from both sheets and then write the formula, this way you will not have the sheet references and you can easily confirm formatting problems??)
 
Upvote 0
Yeah the format is the same and sheet name etc. Instead of individual cells can it easily be changed so instead of C1 it can look at C:C? and match that way?
at least that way if its not in a matching order it will provide a result.
Sort of like a vlookup...

Thanks
 
Last edited:
Upvote 0
Im stuck!
What I am trying to do:
If cells from spreadsheet1: C1 and E1, match cells on spreadsheet2:C1 and D1 it will show spreadsheet2s data from cell E1.

Thank you in advanced for your help.

=INDEX(Sheet2!$E$1:$E$100,MATCH(1,IF(Sheet2!$C$1:$C$100=$C1,IF(Sheet2!$D$1:$D$100=$E1,1)),0))

which needs to be confirmed with control+shift+enter, not just enter.

Is this what you have in mind?
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top