Summary Sheet lookup

Gemandshed

New Member
Joined
Apr 5, 2023
Messages
15
Office Version
  1. 2010
Hi

I’ve got a spreadsheet with multiple worksheets - all different peoples names

I’m trying to create a summary sheet to lookup each persons specific name and return the values within the worksheet

In the summary sheet I need column D to look for the persons worksheet and return the value in column E, but the last cell to have any value.

I hope this makes sense.

Regards
Gemma
 
if the name is "John Smith" and the sheet name is John Smith, then you need to surround the sheet name reference with apostrophes.
Excel Formula:
=INDEX(INDIRECT("'"&A2&"'!$E$2:$E$100"),MAX((ROW(INDIRECT("'"&A2&"'!$E$2:$E$100"))-1)*(ISNUMBER(INDIRECT("'"&A2&"'!$E$2:$E$100")))))
And commit with CSE keystroke combination.
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thank you so much it’s working
Just one last question
What do I change if I want the formula to look for the last but one cell? For example if value was in d19 how can I get it to look for d18? (All have values)
 
Upvote 0
try:

Excel Formula:
      =INDEX(INDIRECT("'"&A2&"'!$E$2:$E$100"),MAX((ROW(INDIRECT("'"&A2&"'!$E$2:$E$100"))-1)*(ISNUMBER(INDIRECT("'"&A2&"'!$E$2:$E$100"))))-1)
As long as the column has no intervening blanks it should work.
 
Upvote 0
yes, but you'll need to format the cell with the formula in it as a date so it displays properly. Experiment with it.
 
Upvote 0
my pleasure. Just remember if your workbook gets large your performance will degrade. There are ways to ameliorate that as well.

Best Wishes!
 
Upvote 1

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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