Formula Question

ARIZONA3433

Board Regular
Joined
Dec 8, 2005
Messages
56
Hi,

I have several SUM formulas that reference the same consecutive rows but
different columns (Example "=SUM(L14:L100)" ).

I would like to change the cell references to all the formula at one time.

Is this possible?

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Thanks for that suggestion.

I was hoping to have an imput from something similar to this:

Period Row Range 14 To 100

Where the number are in separate cells but they would modify the formulas
when changed.

Can this be done?

Thanks
 
Upvote 0
Say A1 contains the start row and A2 contains the end row. You can use a formula like this:

=SUM(INDEX(L1:L100,A1,1):INDEX(L1:L100,A2,1))

Make sure the cell with the formula is outside the indexed range, or you will get a circular reference. Also make sure that neither A1 nor A2 are greater than the number of indexed rows, or you will get a #REF! error.
 
Upvote 0

Forum statistics

Threads
1,215,358
Messages
6,124,487
Members
449,165
Latest member
ChipDude83

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