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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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,215,011
Messages
6,122,677
Members
449,092
Latest member
tayo4dgacorbanget

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