Sumifs

Joe Carrigan

Board Regular
Joined
Oct 8, 2013
Messages
80
In column A I have all the days of the financial year, in column M I have my daily takings for each day.
I would like to be able to have a total for each month, what’s the easiest way please?
 

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"
How about


Excel 2013/2016
OP
101/01/201901/02/2019
249699
TB
Cell Formulas
RangeFormula
O2=SUMPRODUCT((MONTH($A$2:$A$35)=MONTH(O1))*($M$2:$M$35))
 
Upvote 0
Try
where P3 has the start date and Q3 has the end date
adjust ranges as need
Code:
=SUMIFS(M1:M146,A1:A146,">="&P3,A1:A146,"<="&Q3)
 
Upvote 0
Is col M formulae? If so do any of those formulae return #VALUE!
Also do you have any text vales in col M?
 
Last edited:
Upvote 0
This can easily done with pivot table.

create pivot table and then go to option inn ribbon and select group selection
 
Upvote 0
In column A I have all the days of the financial year, in column M I have my daily takings for each day.
I would like to be able to have a total for each month, what’s the easiest way please?

This sounds like a good spot for a pivot table. You can grab all of your data and then insert a pivot table. Put the date into the row labels and daily takes in the values. Then you can group your dates however you want by selecting a date and right clicking it, select "Group", and then select month (or month and year if you want to distinquish between months in different years)
 
Upvote 0
THanks very much for all your answers guys, Scott T's formula works a treat. I did however forget to mention i also have criteria in column E, so;
In column A I have all the days of the financial year, in column M I have my daily takings for each day.
I would like to be able to have a total for each month, but only if column E equals "S". what’s the easiest way please?
 
Upvote 0
How about
=SUMIFS(M1:M146,A1:A146,">="&P3,A1:A146,"<="&Q3,E1:E146,"S")
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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