Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

conditional länk to a cell

Status
Not open for further replies.

fanch72

IS-IT--Management
Joined
Mar 7, 2003
Messages
65
Location
SE
Hi!

I am looking for a way to define a cell as equal to another cell depending on the line of the cell. For example I generate in cell A1 the number "3" and I want cell B1 to be equal to cell C3. B1 should be equal to $C"A1". This should hopefully work without a macro.
Thanks a lot
Francois
 
in B1 enter
=Indirect("C" & A1) Rgds
Geoff
"Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde
 
INDEX is another possibility but not as easy.

It is worth considering using the ISBLANK(A1) or ISNUMBER(A1) tests for null or text entries.

eg = IF(ISVALUE(A1),Indirect("C" & A1),A1 & " non-numeric"
 
Thanks a lot!
Francois
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top