Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Sheet Name to Fill Cell

Good afternoon good people,

I was just wondering if it is possible to fill a field with a sheet name. So
if my sheet is named John Doe, can cell A1 be prefilled with that name?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sheet Name to Fill Cell

"RoadKill" wrote:
I was just wondering if it is possible to fill a field with a sheet name. So
if my sheet is named John Doe, can cell A1 be prefilled with that name?


The book must be saved first

Click Insert Name Define
Put under "Names in workbook:": WSN
Put in the "Refers to:" box:
=MID(CELL("Filename",INDIRECT("A1")),FIND("]",CELL("Filename",INDIRECT("A1")))+1,32)
Click OK

The above defines WSN as a name we can use to refer to the sheetname in
formulas. It will auto-extract the sheetname implicitly. Technique came from
a post by Harlan.

Test it out:
In any sheet, in any cell, put: =WSN,
and that cell will return the sheet's name
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Sheet Name to Fill Cell

Your workbook has to be saved in order for this to work.

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)

HTH,
Paul

--

"RoadKill" wrote in message
...
Good afternoon good people,

I was just wondering if it is possible to fill a field with a sheet name.
So
if my sheet is named John Doe, can cell A1 be prefilled with that name?

Thank you



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sheet Name to Fill Cell

If the Excel file has been saved...

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

Rick


"RoadKill" wrote in message
...
Good afternoon good people,

I was just wondering if it is possible to fill a field with a sheet name.
So
if my sheet is named John Doe, can cell A1 be prefilled with that name?

Thank you


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Sheet Name to Fill Cell

Use the CELL function with the "filname" argument:
http://www.ozgrid.com/Excel/variable...heet-names.htm
http://www.exceltip.com/st/Cell_Func..._Path/180.html
http://www.cpearson.com/excel/excelf.htm
http://www.mcgimpsey.com/excel/formu..._function.html
--
David Biddulph

"RoadKill" wrote in message
...
Good afternoon good people,

I was just wondering if it is possible to fill a field with a sheet name.
So
if my sheet is named John Doe, can cell A1 be prefilled with that name?

Thank you





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Sheet Name to Fill Cell

Thanks everyone. Some genius created a workbook with a ton of sheets with the
name of the individual being scored listed dozens of times on each sheet. So
any shortcut is good.

"David Biddulph" wrote:

Use the CELL function with the "filname" argument:
http://www.ozgrid.com/Excel/variable...heet-names.htm
http://www.exceltip.com/st/Cell_Func..._Path/180.html
http://www.cpearson.com/excel/excelf.htm
http://www.mcgimpsey.com/excel/formu..._function.html
--
David Biddulph

"RoadKill" wrote in message
...
Good afternoon good people,

I was just wondering if it is possible to fill a field with a sheet name.
So
if my sheet is named John Doe, can cell A1 be prefilled with that name?

Thank you




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
How do I fill a formula on another sheet that repeat every 50 cell Chad Hable Excel Discussion (Misc queries) 2 December 31st 07 11:14 PM
How do I fill a formula on another sheet that repeat every 50 cell Chad Hable[_2_] Excel Worksheet Functions 3 December 31st 07 07:35 PM
Auto Fill Different Sheets same cell on each sheet? confused Excel Discussion (Misc queries) 1 October 6th 07 08:54 AM
Auto fill of cell with information from seperate sheet Ray Excel Worksheet Functions 1 June 14th 07 01:19 AM
Conditionally Fill a sheet row if cell value in another sheet 0 nstx Excel Worksheet Functions 2 November 6th 05 03:04 PM


All times are GMT +1. The time now is 11:47 PM.

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

About Us

"It's about Microsoft Excel"