Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
callsign Blue Wolf One Five
 
Posts: n/a
Default Should be able to name Excel sheets based on cells in workbook

Using Excel 2003 from the student/teacher office version. I am trying to
make a workbook to track flight hours for all of the pilots in our unit. I
want to be able to tell a sheet to get its name from the text in a cell in
another sheet in the workbook. I have the last sheet as the "tracking
sheet," which has all of the pilots and their hours and ect. What I want to
do is automatically name the first sheet by refering it to the cell in the
"tracking sheet" that has the first pilots' last name. The the second sheet
would get named from the cell with the second pilots' name, and on and on.
Thanks.
  #2   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

callsign Blue Wolf One Five wrote:
Using Excel 2003 from the student/teacher office version. I am trying to
make a workbook to track flight hours for all of the pilots in our unit. I
want to be able to tell a sheet to get its name from the text in a cell in
another sheet in the workbook. I have the last sheet as the "tracking
sheet," which has all of the pilots and their hours and ect. What I want to
do is automatically name the first sheet by refering it to the cell in the
"tracking sheet" that has the first pilots' last name. The the second sheet
would get named from the cell with the second pilots' name, and on and on.
Thanks.


----------------

For example, if you have a last name in Sheet1 cell A1, then you can
access cell B5 on the sheet named in A1 by:

= INDIRECT((Sheet1!A1&"!$B$5"),TRUE))

This takes the name from A1, and concatenates it with the desired cell
from that page to form a good cell address, and then gets the contents.

Play with it a little and you'll see how it works.

(I hope you don't have two people named SMITH!)

Good luck...

Bill
  #3   Report Post  
callsign Blue Wolf One Five
 
Posts: n/a
Default

Thanks for the info Bill.

"Bill Martin -- (Remove NOSPAM from addre" wrote:

callsign Blue Wolf One Five wrote:
Using Excel 2003 from the student/teacher office version. I am trying to
make a workbook to track flight hours for all of the pilots in our unit. I
want to be able to tell a sheet to get its name from the text in a cell in
another sheet in the workbook. I have the last sheet as the "tracking
sheet," which has all of the pilots and their hours and ect. What I want to
do is automatically name the first sheet by refering it to the cell in the
"tracking sheet" that has the first pilots' last name. The the second sheet
would get named from the cell with the second pilots' name, and on and on.
Thanks.


----------------

For example, if you have a last name in Sheet1 cell A1, then you can
access cell B5 on the sheet named in A1 by:

= INDIRECT((Sheet1!A1&"!$B$5"),TRUE))

This takes the name from A1, and concatenates it with the desired cell
from that page to form a good cell address, and then gets the contents.

Play with it a little and you'll see how it works.

(I hope you don't have two people named SMITH!)

Good luck...

Bill

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
I can I set up Excel to print all sheets of a workbook as a defau. Homebody Excel Discussion (Misc queries) 1 January 14th 05 10:26 PM
Macro in Excel 2002 to save a workbook to a FTP location Lloyd Excel Discussion (Misc queries) 0 December 21st 04 02:49 PM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM
linking cells in Excel 2003. How to not truncate to 255 characters. GarryFerg Excel Discussion (Misc queries) 5 December 8th 04 03:33 PM


All times are GMT +1. The time now is 06:06 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"