Reputation: 638
I need to get the sheet name from a cell.
On image below I'm trying to get '4/2'!$AB60.
Is there a way to formulate this instead of what I currently be doing, manually updating the each column dates (from C6 to AF6)? Is this even possible?
Upvotes: 1
Views: 1435
Reputation: 38131
Formula from the screenshot: =JOIN(,LEFT(D5,LEN(D5),!$AB60)
The problem with this formula is !$AB60
as it is not a valid value, instead use "!$AB60"
or use =TO_TEXT(D5)&"!$AB60"
. To use the result of this formula as a cell reference use INDIRECT
, i.e.:
=INDIRECT(TO_TEXT(D5)&"!$AB60")
Upvotes: 2