SumIFS with criteria between dates

Ira Hopkins

New Member
Joined
Apr 8, 2019
Messages
20
Hoping someone can help. I am trying to match a name Column A for payments between 2 date ( Quarters- ie January 1st 2019- March 31st 2019) If the criteria match I need to know how many claims and the total payment for claims for that person in the quarter- There is generally more than one claim for that person in the quarter
I have tried =SUMIFS(DOWNLOAD!F:F,DOWNLOAD!A:A,A223,DOWNLOAD!D:D,"<=1/4/2019") but when I add another date it will not work
Really hoping someone can help
nameLocPracticeNo of Claims £ Payment DateTotal
john675698719.831-Jan-199.8
dave675698739.831-Jan-1829.4
brian675698719.831-Jan-179.8
tom675698719.831-Jan-169.8
george675698719.801-Feb-189.8
tom675698749.831-Jan-1839.2
george675698719.828-Feb-189.8
dave675698719.828-Feb-189.8
colin675698729.801-Mar-1819.6
bob675698719.802-Mar-189.8
john675698719.828-Feb-189.8
dave675698719.828-Feb-199.8
brian675698719.801-Mar-199.8
peter675698719.802-Mar-199.8
tom675698729.828-Feb-1819.6
george675698719.828-Feb-179.8
tom675698719.801-Mar-179.8
george675698729.828-Jun-1819.6
john675698719.829-Jun-189.8
dave675698719.830-Jun-189.8
brian675698719.828-Feb-189.8
colin675698719.828-May-189.8
colin675698719.828-Feb-169.8
brian675698719.828-Feb-169.8
kyle675698729.829-Feb-1619.6
kyle67569871 9.80 01-Mar-169.8
tom67569871 9.80 31-May-189.8
george67569871 9.80 31-May-189.8
tom67569871 9.80 31-May-179.8
george67569872 9.80 31-May-1819.6
john67569871 9.80 31-May-189.8
dave67569871 9.80 31-Jul-189.8
brian67569871 9.80 31-Jul-189.8
colin67569872 10.03 31-Aug-1820.06
colin67569871 10.03 31-Aug-1810.03
46451.49

<colgroup><col span="5"><col><col></colgroup><tbody>
</tbody>
 
Your data sample has data from 4 different year (2016-2019).
So when you say Quarter 1, do you mean for one specific year, or do you want to count the records for quarter 1 for ALL 4 years, totalled up?
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Then you should be able to use formulas like:
Qtr 1 2018: =COUNTIFS($A:$A,$I2,$F:$F,">=" & DATE(2018,1,1),$F:$F,"<=" & DATE(2018,3,31))
Qtr 2 2018: =COUNTIFS($A:$A,$I2,$F:$F,">=" & DATE(2018,4,1),$F:$F,"<=" & DATE(2018,6,30))
etc.

Note that you may need to change the column references to match what columns your data actually is in.
 
Last edited:
Upvote 0
OMG Joe - Thank you SO SO much- had a play with the formula and it seems to be working- You have really saved me so much copy and paste/filter time- its amazing!!! Once again thank you so much
 
Upvote 0
You are welcome.
Glad we were able to help you out!
:)
 
Upvote 0
Hi Joe - I do have 1 problem - The column I am trying to add up sometimes has more than 1 claim - ie 2 instead of one. I tried changing the COUNTIFS to SUMIFS and its saying too few arguments. It works great on a COUNTIF- Is there a way to SUM ? Thanks SO much .
 
Upvote 0
COUNTIFS will count the number of records meeting the Criteria.
SUMIFS will sum up a specificed column for the records meeting the Criteria.
So, SUMIFS is similar to COUNTIFS, but it has an extra column, as you need to indicate which column it is that you want to sum. That is added as the first argument.
(A SUMIFS formula would look almost identical to the COUNTIFS formula, except for an extra argument in the first position).

See here a detailed explanation and exampleL https://exceljet.net/excel-functions/excel-sumifs-function
 
Upvote 0
Think Ive got it THANK YOU SO MUCH Joe !!!! =SUMIFS($F:$F,$A:$A,"John",$D:$D,">=" & DATE(2018,1,1),$D:$D,"<=" & DATE(2018,3,31)) - And it seems to have worked - Thanks again !
 
Upvote 0

Forum statistics

Threads
1,215,474
Messages
6,125,024
Members
449,204
Latest member
LKN2GO

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