return value on match of list?

BeerBeer101

New Member
Joined
Dec 29, 2021
Messages
40
Office Version
  1. 365
Platform
  1. Windows
I've tried a number of options, but can's seem to get there - but I know this team will find it! (and sorry, cannot install xl2bb)
Sheet 1 - has list of last names, Group and Year

Sheet 2 - has list of last names - some match, some don't. i want the grp and level to move to sheet 2 and return false (or user defined) when a name is not on sheet 1.

1731018192933.png


thanks!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Sheet2
B2=IF(AND(Sheet2!$A2<>"",Sheet2!B$1<>""),IFERROR(INDEX(Sheet1!$B$2:$C$100,MATCH(Sheet2!$A2,Sheet1!$A$2:$A$100,0),MATCH(Sheet2!B$1,Sheet1!$B$1:$Z$1,0)),"no match"),"")

Copy across and down
 
Upvote 0
Solution

Forum statistics

Threads
1,225,738
Messages
6,186,736
Members
453,369
Latest member
juliewar

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