Dynamic cell refrence

z0de

Board Regular
Joined
Oct 22, 2010
Messages
75
In a cell a user types a date, in another cell the match function is used to work out what row that date is on in another sheet. I want another cell now to use that row number as the row for a final function. e.g.


in cell b4: 23/05/2011

In cell c4: =(MATCH(B4,Dates,0)+1) which returns a 2, the row that the date is on.

In cell d4: =b(VALUE(C4)) which should become =b2 and in turn output the value of cell b2 on the sheet. This the formula I can not get to work.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
1 formula will suffice:

=INDEX(cellsincolumnB,MATCH(B4,Dates,0)+1)
 
Upvote 0
Thanks for the responses, indirect worked fine but the index approach gave a #NAME? error. I'm not sure cellsincolumnB was recognised.
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,917
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top