Extracting name of sheet having maximum value in a particular cell

Sg_89

New Member
Joined
Aug 4, 2015
Messages
2
Hi,

I am using the following formula to get maximum value from a particular cell across 97 different sheets with name variation. This works fine. How can I get the sheet name from which the maximum value is coming?

Best, Sushant

=MAX(MAX('LK1 - 4.1 Stäbe - Schnittgrößen:LK9 - 4.1 Stäbe - Schnittgrößen'!Q10),MAX('LK10 - 4.1 Stäbe - Schnittgröße:LK97 - 4.1 Stäbe - Schnittgröße'!Q10))
 

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
Hi
Welcome to the board

One option is a a formula solution. You write the names of the worksheets in a range and to a match.
Another option is vba. If you use vba, write some code to loop through the worksheets and find the value.

Remark: why 2 Max's inside the outer Max? Are the worksheets not contiguous?
 
Upvote 0
Hi ,

Thanks for replying. I found the answer here-
http://www.mrexcel.com/forum/excel-questions/212247-return-sheet-name-containing-max-value.html

See the comment by Domenic.

Best regards
 
Upvote 0

Forum statistics

Threads
1,215,419
Messages
6,124,798
Members
449,189
Latest member
kristinh

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