Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ATK
 
Posts: n/a
Default Added text to equations


I have a need to add text to a formula that references another cell.

Say on one worksheet, I have a column of text from January to December.
Also, I have worksheets named from January to December. I have
multiple cell references for each worksheet, but they are always the
same cell for each worksheet, i.e. January!A1, February!A1, etc.

How can I reference these cells without typing in the January! part (or
selecting them from each sheet). Ideally, I would like to be able to
point to a cell and effectively say add a cell reference to it and have
it return the value of that cell.


--
ATK
------------------------------------------------------------------------
ATK's Profile: http://www.excelforum.com/member.php...o&userid=27662
View this thread: http://www.excelforum.com/showthread...hreadid=471785

  #2   Report Post  
Jonathan Cooper
 
Posts: n/a
Default

Not sure exactly what your trying to do but, this example will get you started.

Sheet names: Data, January, February, etc...

On the Data sheet, in cell B1, you have the following formula

=INDIRECT(A1&"!A1")

This basically says take the text in A1 and concatenate it together with an
exclamation point and the reference A1. Result: =January!A1

This then looks at the January worksheet on cell A1.

Hope that helps.

"ATK" wrote:


I have a need to add text to a formula that references another cell.

Say on one worksheet, I have a column of text from January to December.
Also, I have worksheets named from January to December. I have
multiple cell references for each worksheet, but they are always the
same cell for each worksheet, i.e. January!A1, February!A1, etc.

How can I reference these cells without typing in the January! part (or
selecting them from each sheet). Ideally, I would like to be able to
point to a cell and effectively say add a cell reference to it and have
it return the value of that cell.


--
ATK
------------------------------------------------------------------------
ATK's Profile: http://www.excelforum.com/member.php...o&userid=27662
View this thread: http://www.excelforum.com/showthread...hreadid=471785


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
text to appear at top of cell jenniss New Users to Excel 4 August 30th 05 02:08 AM
Resizing row height to dynamically fit height of text box Jon Excel Discussion (Misc queries) 1 August 8th 05 01:37 PM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


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