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
 
Thank you. I’ve been working on this this morning and I’ve got it to work. The reason it wasn’t working was to do with the name. If I removed the surname and changed the worksheet name to first name only it works but I need it to work with first name and surname. As too many of the same first name.
How can I do this please?
Thank you in advance
 
Upvote 0
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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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

Forum statistics

Threads
1,216,124
Messages
6,128,987
Members
449,480
Latest member
yesitisasport

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