Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 81
Default Dynamic reference to another tab name

Currently I have a cell with this formula:
=A2 & !D6

Cell A2 contains the name of another tab in the same book and I wish to
display the value from cell D6 of that sheet. Clearly the above syntax is
incorrect but what should it be?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Dynamic reference to another tab name

Look at the INDIRECT function
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Angus" wrote in message
...
Currently I have a cell with this formula:
=A2 & !D6

Cell A2 contains the name of another tab in the same book and I wish to
display the value from cell D6 of that sheet. Clearly the above syntax
is
incorrect but what should it be?

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Dynamic reference to another tab name

Try this:

=INDIRECT("'"&A2&"'!D6")

Biff

"Angus" wrote in message
...
Currently I have a cell with this formula:
=A2 & !D6

Cell A2 contains the name of another tab in the same book and I wish to
display the value from cell D6 of that sheet. Clearly the above syntax
is
incorrect but what should it be?

Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mus mus is offline
external usenet poster
 
Posts: 1
Default Dynamic reference to another tab name


I need this way of referencing to other sheets (TABs). I tried it and it
works BUT the D6 reference is no more changing when I copy it over a huge
range, for instance changing to D5, D4. Any medicine for this?

Morten

"Biff" skrev:

Try this:

=INDIRECT("'"&A2&"'!D6")

Biff

"Angus" wrote in message
...
Currently I have a cell with this formula:
=A2 & !D6

Cell A2 contains the name of another tab in the same book and I wish to
display the value from cell D6 of that sheet. Clearly the above syntax
is
incorrect but what should it be?

Thanks in advance.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Dynamic reference to another tab name

If i understand the question correctly you need to hard referance D6 by
adding $'s.

=INDIRECT("'"&A2&"'!$D$6")

cheers



"mus" wrote:


I need this way of referencing to other sheets (TABs). I tried it and it
works BUT the D6 reference is no more changing when I copy it over a huge
range, for instance changing to D5, D4. Any medicine for this?

Morten

"Biff" skrev:

Try this:

=INDIRECT("'"&A2&"'!D6")

Biff

"Angus" wrote in message
...
Currently I have a cell with this formula:
=A2 & !D6

Cell A2 contains the name of another tab in the same book and I wish to
display the value from cell D6 of that sheet. Clearly the above syntax
is
incorrect but what should it be?

Thanks in advance.




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
WEEKNUM to dynamic range name additude Excel Worksheet Functions 5 July 23rd 06 08:12 PM
a cell reference in a 3d reference chartasap Excel Worksheet Functions 1 July 13th 05 02:42 PM
How to dynamically reference a dynamic named range paris3 Excel Worksheet Functions 4 June 24th 05 01:22 AM
Dynamic reference to a sheet xisque Excel Worksheet Functions 4 June 20th 05 09:04 PM
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM


All times are GMT +1. The time now is 03:29 PM.

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"