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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,214,875
Messages
6,122,037
Members
449,062
Latest member
mike575

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