dynamic sumifs

daveyc18

Well-known Member
Joined
Feb 11, 2013
Messages
782
Office Version
  1. 365
  2. 2010
so the formula is at the bottom of a column, but the number of rows can change ...is there a way to make it dynamic so i dont need to adjust every day?

i know ideally the formula should be "off to the side" so it can reference the entire column, but boss doesnt want that
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Format your data as Table and click Total Row under Table Design. Change the formula in the Total cell.
 
Upvote 0
A changed layout would be my recommendation too. Another option would be to have the formulas above the data rather than below.
However, if the formula must go at the bottom, here are two options. I would normally recommend against the OFFSET option as that is a volatile function
If there is not too many volatile formulas in the worksheet it should not be a problem though.

24 11 17.xlsm
BCD
1NumbersNumbers
2a11
3b22
4c33
5a44
655
Bottom Formula
Cell Formulas
RangeFormula
C6C6=SUMIFS(C$2:INDEX(C:C,ROW()-1),B$2:INDEX(B:B,ROW()-1),"a")
D6D6=SUMIFS(D$2:OFFSET(D6,-1,0),B$2:OFFSET(B6,-1,0),"a")
 
Upvote 0
Solution
A changed layout would be my recommendation too. Another option would be to have the formulas above the data rather than below.
However, if the formula must go at the bottom, here are two options. I would normally recommend against the OFFSET option as that is a volatile function
If there is not too many volatile formulas in the worksheet it should not be a problem though.

24 11 17.xlsm
BCD
1NumbersNumbers
2a11
3b22
4c33
5a44
655
Bottom Formula
Cell Formulas
RangeFormula
C6C6=SUMIFS(C$2:INDEX(C:C,ROW()-1),B$2:INDEX(B:B,ROW()-1),"a")
D6D6=SUMIFS(D$2:OFFSET(D6,-1,0),B$2:OFFSET(B6,-1,0),"a")


great ..is index a volatile function? i don't think it is, but i think i read that it is , according to some
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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