Returning the Sheet Name using =LARGE formula across multiple worksheets

fishtech

New Member
Joined
Nov 9, 2012
Messages
1
I have a workbook with multiple sheets. I am using the following formulas to find the 3 largest numbers in a defined cell across each sheet (L12). I need to return the name of the sheet as well. number will change, and I need the sheet name to be variable based on what the formula pulls in. Any ideas?

=LARGE('Sheet 1:Sheet 54'!L12,1)
=LARGE('Sheet 1:Sheet 54'!L12,2)
=LARGE('Sheet 1:Sheet 54'!L12,3)
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
List the sheet names in column B starting with B1
In A1 enter:

=INDIRECT(B1 & "!L12") and copy down

Finally:

=VLOOKUP(LARGE(A:A,1),A:B,2,FALSE)
 
Upvote 0
I have a workbook with multiple sheets. I am using the following formulas to find the 3 largest numbers in a defined cell across each sheet (L12). I need to return the name of the sheet as well. number will change, and I need the sheet name to be variable based on what the formula pulls in. Any ideas?

=LARGE('Sheet 1:Sheet 54'!L12,1)
=LARGE('Sheet 1:Sheet 54'!L12,2)
=LARGE('Sheet 1:Sheet 54'!L12,3)
Another one...

Let's assume you have those formulas in A1:A3.

Create this defined named expression.

Name: Names
Refers to: =ROW(INDIRECT("1:54"))

Then, enter this array formula** in B1 and copy down to B3:

=INDEX("Sheet "&Names,MATCH(TRUE,COUNTIF(INDIRECT("'Sheet "&Names&"'!L12"),A1)>0,0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,226,729
Messages
6,192,696
Members
453,747
Latest member
tylerhyatt04

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