Is there a way to use the name of a worksheet in a formula?
I would like to use the 'if' function and have one of the criteria be the name of the worksheet.
Thanks
Is there a way to use the name of a worksheet in a formula?
I would like to use the 'if' function and have one of the criteria be the name of the worksheet.
Thanks
The following formula will return the name of the worksheet on
which it appears.
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1),1)+1,33)
Note that the file must have been saved to disk for the formula
to work. Also, leave the "filename" text intact -- do not
substitute the actual file name
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Deborah J Doyle"
<[email protected]>
wrote in message
news:[email protected]...
>
> Is there a way to use the name of a worksheet in a formula?
>
> I would like to use the 'if' function and have one of the
> criteria be
> the name of the worksheet.
>
> Thanks
>
>
> --
> Deborah J Doyle
> ------------------------------------------------------------------------
> Deborah J Doyle's Profile:
> http://www.excelforum.com/member.php...o&userid=33526
> View this thread:
> http://www.excelforum.com/showthread...hreadid=533220
>
THANKS!! the formula worked perfectly!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks