Lookup final row of indirect tabs

Jak7217

New Member
Joined
Jan 11, 2019
Messages
32
Office Version
  1. 365
Platform
  1. Windows
If I have 3 separate tabs of data, call the tab names Tom, Julie, and Ron. Column B of each of those 3 tabs will have a final number, aka the last row of data populated. I want to have a summary tab that will name all 3 of those people off and provide that final number.

I've done lookup formulas before to grab the final row of data and I've used indirect to dynamically reference a tab, but I have never combined them. I can't get the formula below to work - is this the best way or is there a better way?

Formula below: Consider the reference to A4 to be the name "Tom", trying to reference an excel tab named "Tom"

=LOOKUP(2,1/(INDIRECT(ADDRESS(1,2,,,A4),(INDIRECT(ADDRESS(1,2,,,A4))))))
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
If the last value is a number, does this do what you want?
Excel Formula:
=LOOKUP(9E+307,INDIRECT("'"&A4&"'!B$1:B$1000000"))
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,117
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