Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need variable that refers to same row different column
Background.:
I came up with this for a coworker- Plug this formula into your B Column on the sheet of your report. Formula: =DATEVALUE(GXX) where XX is the corresponding row value in column G It would have been a lot cooler to send him a formula that he didn't have to change. Question.: Is there a variable I can use in Excel that refers to the same row as the selected cell, something like "=DATEVALUE(Gsamerow)" ??? TIA |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need variable that refers to same row different column
=DATEVALUE(INDEX(G:G,ROW())) is one option.
-- David Biddulph "Toddomation" wrote in message ... Background.: I came up with this for a coworker- Plug this formula into your B Column on the sheet of your report. Formula: =DATEVALUE(GXX) where XX is the corresponding row value in column G It would have been a lot cooler to send him a formula that he didn't have to change. Question.: Is there a variable I can use in Excel that refers to the same row as the selected cell, something like "=DATEVALUE(Gsamerow)" ??? TIA |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need variable that refers to same row different column
I'm not sure I followed you - but you may check the INDIRECT Function.
=INDIRECT("G"&ROW()) Micky "Toddomation" wrote: Background.: I came up with this for a coworker- Plug this formula into your B Column on the sheet of your report. Formula: =DATEVALUE(GXX) where XX is the corresponding row value in column G It would have been a lot cooler to send him a formula that he didn't have to change. Question.: Is there a variable I can use in Excel that refers to the same row as the selected cell, something like "=DATEVALUE(Gsamerow)" ??? TIA |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need variable that refers to same row different column
I assume you understood my suggestion - in any case the full formula is:
=DATEVALUE(INDIRECT("G"&ROW())) Micky "מיכאל (מיקי) אבידן" wrote: I'm not sure I followed you - but you may check the INDIRECT Function. =INDIRECT("G"&ROW()) Micky "Toddomation" wrote: Background.: I came up with this for a coworker- Plug this formula into your B Column on the sheet of your report. Formula: =DATEVALUE(GXX) where XX is the corresponding row value in column G It would have been a lot cooler to send him a formula that he didn't have to change. Question.: Is there a variable I can use in Excel that refers to the same row as the selected cell, something like "=DATEVALUE(Gsamerow)" ??? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Increase width of 'Refers to' box | Setting up and Configuration of Excel | |||
macro than refers to a cell? | Excel Discussion (Misc queries) | |||
variable column | Excel Worksheet Functions | |||
Sum cells based on a row variable and seperate column variable | Excel Worksheet Functions | |||
Same Name refers to local ranges | Excel Worksheet Functions |