Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deborah J Doyle
 
Posts: n/a
Default using worksheet name


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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default using worksheet name

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"
<Deborah.J.Doyle.26c0pa_1145148602.2042@excelfor um-nospam.com
wrote in message
news:Deborah.J.Doyle.26c0pa_1145148602.2042@excelf orum-nospam.com...

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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deborah J Doyle
 
Posts: n/a
Default using worksheet name


THANKS!! the formula worked perfectly!


--
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect Workbook vs Worksheet?? Dan B Excel Worksheet Functions 3 November 7th 05 09:02 PM
Inserting Filtered RC cell information into other worksheets Dennis Excel Discussion (Misc queries) 10 July 30th 05 01:54 AM
Search/Match between 2 x separate Worksheets and populate result in third worksheet Alan Bartley Excel Discussion (Misc queries) 1 April 11th 05 05:21 AM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
copyright and worksheet protection dow Excel Discussion (Misc queries) 2 January 3rd 05 03:07 PM


All times are GMT +1. The time now is 10:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"