Sumif/s with Date Criteria

Sundance_Kid

Board Regular
Joined
Sep 2, 2017
Messages
130
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking to do a sumif/s formula but using dates as the criteria.

I won't have a helper column with the start and end date. So, it would need to be something manually entered in the formula, an example for April being 01/04/2023 to 30/04/2023.

Is it possible?

Thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
You can do that like
Excel Formula:
=SUMIFS(B:B,A:A,">="&DATE(2023,4,1),A:A,"<"&DATE(2023,5,1))
 
Upvote 0
You can do that like
Excel Formula:
=SUMIFS(B:B,A:A,">="&DATE(2023,4,1),A:A,"<"&DATE(2023,5,1))
Thanks, I couldn't quite get it to work.

See the attached image, how would the formula work here if trying to sum up any amounts in April?
 

Attachments

  • SumIfDateQuery.PNG
    SumIfDateQuery.PNG
    6.2 KB · Views: 4
Upvote 0
@Fluff 's formula is correct, it would have helped to see which columns your data was in though... ;)

Book1
BCDE
3DateTotal
401/07/20203570
501/06/202030
625/04/202325
709/04/202320
808/04/202315
901/04/202310
Sheet1
Cell Formulas
RangeFormula
E4E4=SUMIFS(C:C,B:B,">="&DATE(2023,4,1),B:B,"<"&DATE(2023,5,1))
 
Upvote 0

Forum statistics

Threads
1,215,314
Messages
6,124,202
Members
449,147
Latest member
sweetkt327

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