Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Dynamic sheet reference

How do I create a dynamic reference to a sheet throught a specific cell
location?

For example: cell ref!A5 where cell ref is the text contents of a specific
cell like B8.
--
steve
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Dynamic sheet reference

See the INDIRECT function in Excel Help.

If B8: Sheet 3

Then this formula returns the value of cell A5 on the 'Sheet 3' worksheet:
=INDIRECT("'"&B8&"'!A5")

Note: the quote marks can be confusing....
The left set is: Dbl-quote.....Single-quote...Dbl-quote
The right set is: Dbl-quote...Single-quote...!A5...Dbl-quote

When a sheet name includes spaces, references to it
must be enclosed in single-quotes.

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"steve" wrote in message
...
How do I create a dynamic reference to a sheet throught a specific cell
location?

For example: cell ref!A5 where cell ref is the text contents of a
specific
cell like B8.
--
steve




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Dynamic sheet reference

This is perfect. Thanks
--
steve


"Ron Coderre" wrote:

See the INDIRECT function in Excel Help.

If B8: Sheet 3

Then this formula returns the value of cell A5 on the 'Sheet 3' worksheet:
=INDIRECT("'"&B8&"'!A5")

Note: the quote marks can be confusing....
The left set is: Dbl-quote.....Single-quote...Dbl-quote
The right set is: Dbl-quote...Single-quote...!A5...Dbl-quote

When a sheet name includes spaces, references to it
must be enclosed in single-quotes.

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"steve" wrote in message
...
How do I create a dynamic reference to a sheet throught a specific cell
location?

For example: cell ref!A5 where cell ref is the text contents of a
specific
cell like B8.
--
steve





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Dynamic sheet reference

Glad to help!
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"steve" wrote in message
...
This is perfect. Thanks
--
steve


"Ron Coderre" wrote:

See the INDIRECT function in Excel Help.

If B8: Sheet 3

Then this formula returns the value of cell A5 on the 'Sheet 3'
worksheet:
=INDIRECT("'"&B8&"'!A5")

Note: the quote marks can be confusing....
The left set is: Dbl-quote.....Single-quote...Dbl-quote
The right set is: Dbl-quote...Single-quote...!A5...Dbl-quote

When a sheet name includes spaces, references to it
must be enclosed in single-quotes.

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"steve" wrote in message
...
How do I create a dynamic reference to a sheet throught a specific cell
location?

For example: cell ref!A5 where cell ref is the text contents of a
specific
cell like B8.
--
steve







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
Dynamic reference to another tab name Angus Excel Worksheet Functions 5 February 9th 07 05:41 PM
Dynamic name reference in SUMPRODUCT MIKWIN Excel Worksheet Functions 5 December 27th 06 07:35 AM
Dynamic reference to another sheet? Mitch Excel Worksheet Functions 3 May 16th 06 04:36 PM
Dynamic reference to a sheet xisque Excel Worksheet Functions 4 June 20th 05 09:04 PM
Dynamic reference to sheet name Darien0104 Excel Worksheet Functions 1 May 8th 05 09:41 AM


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