Indirect lookup - formula solution needed

colinheslop1984

Board Regular
Joined
Oct 14, 2016
Messages
129
Office Version
  1. 2016
I am using Excel 2016.

I would like to do a lookup function that also involved the indirect function.

I have multiple worksheets which belong to a coach and are titled accordingly - 'Peter' 'Sally' 'Chris' etc.
On my active worksheet I have a table that looks like below: (assume the below example starts at cell A1)

CoachFirst NameLast NamePhone NumberReferred for jobs (Y/N)Times Contacted
PeterClaireJonesY
SallyMikeJonesN

Each coach's worksheets look identical to the example above (except for column A, 'Coach'), but all other cell headers are correctly placed, i.e. column B - first name, column C last name, etc.

Where column E (referred for jobs) says 'Y' on each coach's worksheet, I'd like that row to appear on my worksheet.

I was thinking I could use indirect to reference the coach's worksheet using column A (the coach's name) as the criteria to select the appropriate worksheet to performance the lookup. I would like to search column E for answer 'Y', which it would then return that row on my worksheet without any duplicates

I am hoping I have explained that well enough.

Can anyone help with a solution?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
This was one solution I was trying but doesn't appear to be working. Although this would display a lot of blank cells, I was prepared to just add a filter to remove them from view

=IF(INDIRECT("'"&A$2&"'!$e1")="Yes",INDIRECT("'"&A$2&"'!$b1"),"")
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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