Countif for between today and the end of the month

Timmithon

New Member
Joined
May 26, 2016
Messages
1
Hi there,

I'm trying to count all the cell that fall between the current day's date and the end of the month.

I've been trying this formula and similar iterations to no luck:

=COUNTIFS('Milestones'!J:J,">=Today()", 'Milestones'!J:J,"<=EOMONTH(TODAY(),0)")

Is it not possible to use the Today() or EOMONTH functions in this kind of formula or something?
If not a work-around would be greatly appreciated, thanks!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
something along the lines of

=COUNTIF(O9:O29,"<="&EOMONTH(TODAY(),0))-COUNTIF(O9:O29,"<="&(TODAY()))

or

=COUNTIFS(O9:O29,"<="&EOMONTH(TODAY(),0),O9:O29,">="&TODAY())
 
Last edited:
Upvote 0
Unquote formula expressions...

=COUNTIFS('Milestones'!J:J,">="&Today(), 'Milestones'!J:J,"<="&EOMONTH(TODAY(),0))
 
Upvote 0
=COUNTIFS(Sheet1!J:J,">="&Today(), Sheet1!J:J,"<="&MONTH(TODAY()))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,376
Messages
6,124,593
Members
449,174
Latest member
chandan4057

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