If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > use cell reference in text as real cell reference in formula

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Oct 2003
Posts: 61
use cell reference in text as real cell reference in formula

I have a cell (A1) in one of my spreadsheets which has the value B501. The format of the cell is TEXT. What I now want to do is create a formula in another cell (B1) which needs to refer to the real cell B501. However I cannot make a direct link to the real cell B501 --> I have to use the text in cell A1 to be able to make the link to cell B501 but I am not sure how to do this.

If I would put the formula =A1 in cell B1 I would of course get B501 returned, but what I actually want returned is that the value in cell B501 is returned.

Is this possible in excel??
__________________
Nobody dies a virgin because life screws us all!
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy. Use the INDIRECT function

=INDIRECT(A1)
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Oct 2003
Posts: 61
thanks! this works perfectly
__________________
Nobody dies a virgin because life screws us all!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On