return value on match of list?

BeerBeer101

New Member
Joined
Dec 29, 2021
Messages
39
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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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