What IF with a LOOKUP

drewkenna

New Member
Joined
Jan 13, 2014
Messages
3
Hi
Im not sure if its possible (im quite a novice)

I have 2 spreadsheets.
i need to complete a new colum on my main spreadsheet
The data in this new column (column C) will depend on if any cell from column A in sheet 1 matches any cell in column A in sheet 2.
If they match i want my new colimn to show the data in column B of sheet 2
If it does not match i want it to show the data in column B in sheet 1.

I really hope this makese sense.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Not sure if I understand you correctly, but maybe something like this?

=iferror(vlookup(A!,sheet2!$A$1:$B$100,2,0),B2
 
Upvote 0

Forum statistics

Threads
1,196,030
Messages
6,012,962
Members
441,741
Latest member
jlburn

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