Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kislay
 
Posts: n/a
Default reference value in a cell

I have these values in sheets.

Sheet2!A1 = 5
Sheet3!A1 = 7

Now, I put Sheet1!A1 = "Sheet2" which can be varied to "Sheet3" or "Sheet4"
etc.
User has to provide the name of the sheet here in Sheet1!A1.

The problem is what formula to put in Sheet1!A3 so that it checks the value
in Sheet1!A1 and depending on sheet name, takes the
value of A1 of that sheet.
Ofcourse it is wrong, but, something like this [Sheet1!A1]![A1]
i.e. if I write Sheet1!A1 = "Sheet3", the value in Sheet1!A3 becomes =7.

Any help is appreciated.
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Try this:

=INDIRECT(A1&"!A1")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kislay" wrote in message
...
I have these values in sheets.

Sheet2!A1 = 5
Sheet3!A1 = 7

Now, I put Sheet1!A1 = "Sheet2" which can be varied to "Sheet3" or

"Sheet4"
etc.
User has to provide the name of the sheet here in Sheet1!A1.

The problem is what formula to put in Sheet1!A3 so that it checks the

value
in Sheet1!A1 and depending on sheet name, takes the
value of A1 of that sheet.
Ofcourse it is wrong, but, something like this [Sheet1!A1]![A1]
i.e. if I write Sheet1!A1 = "Sheet3", the value in Sheet1!A3 becomes =7.

Any help is appreciated.


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
Tab name / reference cell? Maxwell-5000 Excel Worksheet Functions 0 August 8th 05 07:40 PM
Flexible Cell Reference Brandt Excel Discussion (Misc queries) 5 June 2nd 05 10:23 PM
reference cell value from fixed column with variable row bob z Excel Discussion (Misc queries) 0 May 23rd 05 11:30 PM
Using a Text / Data output as a cell reference Jimboski Excel Discussion (Misc queries) 1 February 11th 05 07:31 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM


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