Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ann ann is offline
external usenet poster
 
Posts: 210
Default Copy a cell from a diferent tab when the tab name is in a cell

I have the name of a tab within a cell. How do I use this cell to look up
data on the tab.

Tab 1 has the following entry:-
Road 1

I wish to use this entry to go to the Road 1 tab and look up data held in
cell M6

Road 1 could then be updated to Road 2 and I then wish it to go to the Road
2 tab and display information from the same cell i.e. cell M6

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default Copy a cell from a diferent tab when the tab name is in a cell

Try =INDIRECT("'"&A1&"'!M6")

Where A1 has the sheet tab name.


--
Regards
Dave Hawley
www.ozgrid.com
"Ann" wrote in message
...
I have the name of a tab within a cell. How do I use this cell to look up
data on the tab.

Tab 1 has the following entry:-
Road 1

I wish to use this entry to go to the Road 1 tab and look up data held in
cell M6

Road 1 could then be updated to Road 2 and I then wish it to go to the
Road
2 tab and display information from the same cell i.e. cell M6

Thank you


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default Copy a cell from a diferent tab when the tab name is in a cell

If your tab name is in A1 then use

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

"Ann" wrote:

I have the name of a tab within a cell. How do I use this cell to look up
data on the tab.

Tab 1 has the following entry:-
Road 1

I wish to use this entry to go to the Road 1 tab and look up data held in
cell M6

Road 1 could then be updated to Road 2 and I then wish it to go to the Road
2 tab and display information from the same cell i.e. cell M6

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 to copy the first word or two words from a cell containing a complete sentence to another cell jonny Excel Discussion (Misc queries) 7 May 19th 23 03:43 AM
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options Yuvraj Excel Discussion (Misc queries) 0 June 29th 09 11:20 AM
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Yuvraj Excel Discussion (Misc queries) 0 June 26th 09 06:01 PM
Compare two Worksheet and copy the diferent rows to other CC Excel Discussion (Misc queries) 0 December 10th 08 04:48 PM
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM


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