|
-
Nov 4th, 2005, 03:08 AM
#1
Thread Starter
Addicted Member
Using cell contents in formula
How can i use the contents of a cell inside a formula that references another cell on a different sheet.
ie, On my sheet the contents of A1 is "Myname". Now in cell B3 I want to use the contents of A1 in my sheet reference.
For example, instead of =Myname!C23
I want something like =A1!C23
Can it be done?
Lee Saunders
Win XP Professional : VB6 Enterprise / VB 2005 Express
History admires the wise, but it elevates the brave.
-
Nov 4th, 2005, 08:28 AM
#2
Frenzied Member
Re: Using cell contents in formula
By Jove, I think I've got it!:
=INDIRECT(ADDRESS(2,3,1,1,A1))
Parameters in order:
* row on other sheet
* column on other sheet
* reference type
* reference style
* cell on this (or any!) sheet that contains name of other sheet
Just look up "Address" in the HelpHeap.
This works in any cell on Sheet 1 with "Sheet2" in cell A1 of Sheet1 and "123" in Cell C2 of Sheet2. It returns "123" - the contents of Sheet2!C2.
Last edited by Webtest; Nov 4th, 2005 at 08:49 AM.
Blessings in abundance,
All the Best,
& ENJOY!
Art . . . . Carlisle, PA . . USA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|