dynamic sumifs

daveyc18

Well-known Member
Joined
Feb 11, 2013
Messages
755
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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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