Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Referencing a cell containing sheet name

I have a summary page in my workbook that has the individual sheet names listed in column A. Is there a way to reference the cells in column a within a formula so that the formula pulls the info from the appropriate page

This is what I want the end result to be....
A
1 Sheet1 ='Sheet1'!L3
2 Sheet2 ='Sheet2'!L3
3 Sheet3 ="Sheet3'!L3

but I would like to replace the " 'Sheet1'! " etc. with a reference to cells A1, A2 etc.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Referencing a cell containing sheet name

Marcotte,

Use the INDIRECT function to do this. E.g.,

=INDIRECT("'"&A1&"'!L32")

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Marcotte A" wrote in
message
...
I have a summary page in my workbook that has the individual

sheet names listed in column A. Is there a way to reference the
cells in column a within a formula so that the formula pulls the
info from the appropriate page?

This is what I want the end result to be.....
A B
1 Sheet1 ='Sheet1'!L32
2 Sheet2 ='Sheet2'!L32
3 Sheet3 ="Sheet3'!L32

but I would like to replace the " 'Sheet1'! " etc. with a

reference to cells A1, A2 etc.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Referencing a cell containing sheet name

Hi
in B1 enter
=INDIRECT("'" & A1 & "'!L32")

--
Regards
Frank Kabel
Frankfurt, Germany

"Marcotte A" schrieb im
Newsbeitrag ...
I have a summary page in my workbook that has the individual sheet

names listed in column A. Is there a way to reference the cells in
column a within a formula so that the formula pulls the info from the
appropriate page?

This is what I want the end result to be.....
A B
1 Sheet1 ='Sheet1'!L32
2 Sheet2 ='Sheet2'!L32
3 Sheet3 ="Sheet3'!L32

but I would like to replace the " 'Sheet1'! " etc. with a reference

to cells A1, A2 etc.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Referencing a cell containing sheet name

Cool, Thanks guys.
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
Sheet referencing in a cell velvetlady Excel Discussion (Misc queries) 1 April 1st 08 06:24 PM
Referencing every 5th cell in another sheet [email protected] Excel Worksheet Functions 4 June 20th 07 02:49 PM
odd behavior when referencing a cell on another sheet Dave F Excel Discussion (Misc queries) 3 October 12th 06 03:16 PM
referencing Excel sheet name in cell Graham Tritton Excel Worksheet Functions 1 October 14th 05 06:53 AM
referencing a sheet named in a cell then using data from that sheet gbeard Excel Worksheet Functions 4 April 15th 05 08:42 AM


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