Formula in a cell range

Benny1

New Member
Joined
Jul 10, 2011
Messages
3
I have a spreadsheet that calcs the XNPV in each column.

I want the range to decrease by 1 in each column.

i.e. in A1, I want the range to be A5:A20.
in B1, I want the range to be A6:A20
in B3 I want the range to be A7:A20

Is there an easy way to do this?

The spreadsheet is quite big and I do not want to manually do it.

Thanks for any help!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi

You can use INDEX to resize as you go across columns eg:

=$A$20:INDEX($A$5:$A$20,COLUMNS($A$1:A$1))

copied across from eg cell A1 to C1 will progressively reflect A5:A20 then A6:A20 then A7:A20.

So this would cover the first two instances you highlight. Not so the range you want in B3, however
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,196
Members
449,072
Latest member
DW Draft

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