Increase row value of formula as formula dragged across columns.

alocke

Board Regular
Joined
Nov 10, 2011
Messages
64
Hi,

I have the following formula:

Code:
=INDEX(Sheet1!$B18:$AT18,MATCH($AA2&$C2,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))


When I place it into next column, I want it to look like this:

Code:
=INDEX(Sheet1!$B19:$AT19,MATCH($AA2&$C2,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))

and down a row (which works as is at the moment):

Code:
=INDEX(Sheet1!$B18:$AT18,MATCH($AA3&$C3,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))

I'm sure its a simple fix, but really struggling how to do it.

Thanks in advance!
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi,

I have the following formula:

Code:
=INDEX(Sheet1!$B18:$AT18,MATCH($AA2&$C2,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))


When I place it into next column, I want it to look like this:

Code:
=INDEX(Sheet1!$B19:$AT19,MATCH($AA2&$C2,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))

and down a row (which works as is at the moment):

Code:
=INDEX(Sheet1!$B18:$AT18,MATCH($AA3&$C3,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0))

I'm sure its a simple fix, but really struggling how to do it.

Thanks in advance!

say the formula is in cell AC2:

AC2 = INDEX(OFFSET(Sheet1!$A$1,COLUMN()-11,1,1,45),MATCH($AA2&$C2,Sheet1!$B$4:$AT$4 & Sheet1!$B$7:$AT$7,0)) press CTRL+SHIFT+ENTER

what drives the change from 18 to 19 to the next column is COLUMN()-11
 
Upvote 0
In the first and third formulae you appear to wish to address the range B18:AT18 but the AA and C row indices have incremented.
In these instance you appear to need to preserve the B18:AT18 range, in which case you need that $ to precede each of the 18s.
For your second column do you need to do the same, based on my assumptions?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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