ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   dynamic reference to cell?? (https://www.excelbanter.com/excel-worksheet-functions/130028-dynamic-reference-cell.html)

mfrey

dynamic reference to cell??
 
If I have values in cells A1:B2 for example
1,2
3,4

In A4, I'd like to be able to type the cell, and have B4 populate with the
value in the cell. So if in A4 I type 'A2', the number 3 would populate in
B4. Likewise, if in A4 I change the entry and type 'B2', I want the number 4
to populate in B4.

Does that make sense???


Gary''s Student

dynamic reference to cell??
 
It makes sense. There is a function just for you:

=INDIRECT(A4)
--
Gary's Student
gsnu200705


"mfrey" wrote:

If I have values in cells A1:B2 for example
1,2
3,4

In A4, I'd like to be able to type the cell, and have B4 populate with the
value in the cell. So if in A4 I type 'A2', the number 3 would populate in
B4. Likewise, if in A4 I change the entry and type 'B2', I want the number 4
to populate in B4.

Does that make sense???


mfrey

dynamic reference to cell??
 
WOW, that was too easy!
you rock, thanks!

"Gary''s Student" wrote:

It makes sense. There is a function just for you:

=INDIRECT(A4)
--
Gary's Student
gsnu200705


"mfrey" wrote:

If I have values in cells A1:B2 for example
1,2
3,4

In A4, I'd like to be able to type the cell, and have B4 populate with the
value in the cell. So if in A4 I type 'A2', the number 3 would populate in
B4. Likewise, if in A4 I change the entry and type 'B2', I want the number 4
to populate in B4.

Does that make sense???


Gary''s Student

dynamic reference to cell??
 
Excel rocks, I just roll.
--
Gary's Student
gsnu200705


"mfrey" wrote:

WOW, that was too easy!
you rock, thanks!

"Gary''s Student" wrote:

It makes sense. There is a function just for you:

=INDIRECT(A4)
--
Gary's Student
gsnu200705


"mfrey" wrote:

If I have values in cells A1:B2 for example
1,2
3,4

In A4, I'd like to be able to type the cell, and have B4 populate with the
value in the cell. So if in A4 I type 'A2', the number 3 would populate in
B4. Likewise, if in A4 I change the entry and type 'B2', I want the number 4
to populate in B4.

Does that make sense???



All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com