Hello Oxbow,
Based on your question, I assume you want the values next to
"Results:" to be updated automatically whenever the Row Number is
updated.
One of the easiest way to do this is to use the "INDIRECT" function in
Excel. The indirect function allows you to fetch a value based on a
computed string. I generated the computed string based on the TEXT
function. For more information about the INDIRECT and TEXT functions,
enter those phrases (one at a time) into the Excel help search box.
One of the cell functions I used was
=INDIRECT(TEXT($G1,"R#C1"),FALSE)
to fetch the Row number from cell G1 (where my "Row Number" happened
to be), reformat that using the TEXT function using the number format
"R#C1"
In your example, the generated string is
"R3C1"
Then using INDIRECT to use a row / column reference to fetch the value
(in this case, the first column from the third row). The result "p"
appears in the cell with that function. The subsequent result cells
have the formulas:
=INDIRECT(TEXT($G1,"R#C2"),FALSE)
=INDIRECT(TEXT($G1,"R#C3"),FALSE)
=INDIRECT(TEXT($G1,"R#C4"),FALSE)
which fetch the second, third, and fourth column values respectively.
Adjust the cell reference ($G1) to match the cell you have the row
number in it.
If you find the answer unclear or does not completely meet your needs,
please make a clarification request so I can provide further
information.
Good luck with your work.
--Maniac |