Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello everyone.
I'm just messing around on Excel, and I wish to use a cell value to be used in a formula so E.G B Column is full of random Words (spanner, spoon, stool etc) Column A1 = 1 I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1 I know the above doesn't work, but it would basically I could change the number in cell A1 and it would look at a different row in Column B. I hope that makes sense, thanks in advance. Note - I was thinking something to do with INDIRECT, but can't seem to get that right either. Nate |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=INDIRECT("B"& a1)
-- Don Guillett Microsoft MVP Excel SalesAid Software "NateBuckley" wrote in message ... Hello everyone. I'm just messing around on Excel, and I wish to use a cell value to be used in a formula so E.G B Column is full of random Words (spanner, spoon, stool etc) Column A1 = 1 I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1 I know the above doesn't work, but it would basically I could change the number in cell A1 and it would look at a different row in Column B. I hope that makes sense, thanks in advance. Note - I was thinking something to do with INDIRECT, but can't seem to get that right either. Nate |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
You were very close and had yo persevered I think you would have got it. Try this =INDIRECT("sheet1!B"&A1) Indirect is treated as text but in this case there is a second non-text bit the address A1 Mike "NateBuckley" wrote: Hello everyone. I'm just messing around on Excel, and I wish to use a cell value to be used in a formula so E.G B Column is full of random Words (spanner, spoon, stool etc) Column A1 = 1 I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1 I know the above doesn't work, but it would basically I could change the number in cell A1 and it would look at a different row in Column B. I hope that makes sense, thanks in advance. Note - I was thinking something to do with INDIRECT, but can't seem to get that right either. Nate |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Cheers it does indeed work.
Thanks alot for your help. Many thanks. "Mike H" wrote: Hi, You were very close and had yo persevered I think you would have got it. Try this =INDIRECT("sheet1!B"&A1) Indirect is treated as text but in this case there is a second non-text bit the address A1 Mike "NateBuckley" wrote: Hello everyone. I'm just messing around on Excel, and I wish to use a cell value to be used in a formula so E.G B Column is full of random Words (spanner, spoon, stool etc) Column A1 = 1 I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1 I know the above doesn't work, but it would basically I could change the number in cell A1 and it would look at a different row in Column B. I hope that makes sense, thanks in advance. Note - I was thinking something to do with INDIRECT, but can't seem to get that right either. Nate |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The INDIRECT function is volatile; here is a non-volatile solution...
=INDEX(B1:B1000,A1) Rick "NateBuckley" wrote in message ... Hello everyone. I'm just messing around on Excel, and I wish to use a cell value to be used in a formula so E.G B Column is full of random Words (spanner, spoon, stool etc) Column A1 = 1 I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1 I know the above doesn't work, but it would basically I could change the number in cell A1 and it would look at a different row in Column B. I hope that makes sense, thanks in advance. Note - I was thinking something to do with INDIRECT, but can't seem to get that right either. Nate |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
format a cell with a formula so an empty reference cell shows blan | Excel Discussion (Misc queries) | |||
Using a cell reference within a cell reference in a formula | Excel Worksheet Functions | |||
How do I leave formula cell blank if 2nd reference cell is empty? | Excel Discussion (Misc queries) | |||
Cell Formula reference to cell Based On third Cell Content | Excel Discussion (Misc queries) | |||
Cell Formula reference to cell Based On third Cell Content | Excel Discussion (Misc queries) |