increase Range Sumifs Formula

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,603
Office Version
  1. 2021
Platform
  1. Windows
I have the following SUMIFS formula

Code:
=SUMIFS(B5:B23,A5:A23,({"60-90","120+"}))


I would like to increase the range to the last column before where "Grand Total" appears


The ageing (Criteria is in Col A)


I am trying to sum all the values in Col B to the col before Grand Total (last Col) where the criteria is "60-90" & "120+"


It would be appreciated if someone could assist me in resolving this
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Thanks for your help. I need to sum the data for all the columns except the last column containing text "Grand Total"


See Sample Data below


Kindly amend formula



Book1
ABCDEFGHI
2AgeingBR1BR2BR3BR4BR5BR6BR7Grand Total
3<30 or (blank)57.00186.73124.49188.54556.76
430-60206.40233.3716.0716.07471.92
560-90230.4938.7015.3860.80345.37
6Grand Total436.8957.00420.10179.27188.5431.4560.801,374.05
7
Sheet1
 
Upvote 0
I have attempted to add the value in the column pertaining to Grand Total for criteria 60-90,90-120


It would be appreciated if someone could correct this



Book1
ABCDEFGHI
1Debtors > 90 Days#VALUE!
2AgeingBR1BR2BR3BR4BR5BR6BR7Grand Total
3<30 or (blank)57.00186.73124.49188.54556.76
430-60206.40233.3716.0716.07471.92
560-90230.4938.7015.3860.80345.37
6Grand Total436.8957.00420.10179.27188.5431.4560.801,374.05
7
8
9
10
11
Sheet1
Cell Formulas
RangeFormula
B1=SUM(SUMIFS(I4:I26,A4:A26,({"60-90","120-150"}),A4:S4,"Grand Total"))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,171
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