Reference the sheet name in formula as a number

Guidestone

New Member
Joined
Jul 5, 2018
Messages
14
I'm trying to write the following formula:

=MAX('02'!C5:C18)

But instead of referencing the sheet named "02" I either want to reference a cell that outputs the name or number of the sheet, or have it reference the current sheet (because there are 200 sheets just like this one and they are all the same format, but contain different data). Any idea how I can achieve this?

Thanks,
Chris
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
It doesn't seem to recognize the data in the C column because my red reference box is gone, so I'm not sure where it's pulling the data from.

https://drive.google.com/file/d/1YTXsTM_cPtLkuA07ZNhq_Q14N00dlU5H/view?usp=sharing


Here's a "Hail Mary" move.

The only thing left could be a corrupted worksheet or workbook.

If you copy the data with a copy ==> Pastespecial ==> values into another worksheet, and point the formula to that one, it might work.

If it does, you know you have a corrupted worksheet
 
Upvote 0
02 is the name of the sheet!

Yes "02" is the name of the sheet, but I see he has it as "2". That might make the difference.

If the cell isn't formatted as text, and the VALUE is "2" and not "02" then it might not work
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,965
Members
452,539
Latest member
delvey

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