Sumifs with dates issue

MOB

Well-known Member
Joined
Oct 18, 2005
Messages
1,042
Office Version
  1. 365
Platform
  1. Windows
How would you go about using sumif with dates like this - I would usually sumif dates in a month using <= and >= dates, but these dates with times are not integers so get missed - I am currently using a helper column with =INT() but wondered if I could do away with that somehow?;

20/05/2021 12:03
20/05/2021 12:03
25/05/2021 09:29
25/05/2021 09:29
09/04/2021
09/04/2021
09/04/2021
09/04/2021
09/04/2021
09/04/2021
10/05/2021
10/05/2021
15/04/2021 09:12
15/04/2021 09:12
15/04/2021 09:12
15/04/2021 09:12
15/04/2021 11:07
15/04/2021 11:07
16/04/2021 11:19
16/04/2021 11:19
16/04/2021 11:19
02/04/2021
02/04/2021
02/04/2021
07/04/2021
07/04/2021
13/04/2021
13/04/2021
 

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"

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
67,826
Office Version
  1. 365
Platform
  1. Windows
Why are you trying to sum dates?
 

MOB

Well-known Member
Joined
Oct 18, 2005
Messages
1,042
Office Version
  1. 365
Platform
  1. Windows
Sorry, bad description

I'm using sumifs with dates being one criteria - I am summing data based on dates, and dates with times are missed
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
67,826
Office Version
  1. 365
Platform
  1. Windows
In that case for the upper date use the day after & then use < rather than <=
 

MOB

Well-known Member
Joined
Oct 18, 2005
Messages
1,042
Office Version
  1. 365
Platform
  1. Windows
So simple :)

Thanks
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
67,826
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,589
Messages
5,765,314
Members
425,272
Latest member
Umba

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
Top