Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a cell which refers to a cell in a different sheet like the following: ='SheetB'!N5 Now, N is a variable which is the content of another cell (say H10), and 5 is the actual row of the cell. I am trying to use string concat so that the cell can display the result of 'SheetB'!(Content of H10)(Row) but I am not having much luck. Which formula should I create ? Thanks/Brgds Joćo |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think:
If H10 contains N5, then: =indirect("'sheetb'!"&h10) If H10 contained N, then: =indirect("'sheetb'!"&h10&"5") You could even refer to a different cell for all those pieces: =indirect("'" & x99 & "'!" & z1000 & w1234) JJ wrote: Hi, I have a cell which refers to a cell in a different sheet like the following: ='SheetB'!N5 Now, N is a variable which is the content of another cell (say H10), and 5 is the actual row of the cell. I am trying to use string concat so that the cell can display the result of 'SheetB'!(Content of H10)(Row) but I am not having much luck. Which formula should I create ? Thanks/Brgds Joćo -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=Indirect()?
= "text" & cellref & "text" & number |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem referencing a cell using 2 variables | Excel Programming | |||
Sheet referencing in a cell | Excel Discussion (Misc queries) | |||
cell referencing with variables | Excel Programming | |||
referencing a sheet named in a cell then using data from that sheet | Excel Worksheet Functions | |||
Referencing a cell containing sheet name | Excel Programming |