Count formula required that falls within a date range

rajtak

Board Regular
Joined
Feb 23, 2009
Messages
74
I need a formula to count cells of other columns that falls within the dates of July month. Please check the screenshot below and let me know your suggestions. It should ONLY count the non-blank cells of Micky



Thanks in advance
 
Last edited:

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.
Hi Aladin,

Yes, i got it what you were trying to say, my formula skips the count of large values (41518) and alphanumeric values don't know why. Your suggestion is working perfectly. Thank you very much :)
 
Upvote 0
Hi Aladin,

Yes, i got it what you were trying to say, my formula skips the count of large values (41518) and alphanumeric values don't know why. Your suggestion is working perfectly. Thank you very much :)

You are welcome. The C range needs to be tested differently, not as a case less thanor equal to some arbitrary date. using whole column references as you did we would have something like:

=COUNTIFS(A:A,">7/31/2013",A:A,"<=8/31/2013",C:C,"<>")

Or somewhat fancy:

=COUNTIFS(A:A,">7/31/2013",A:A,"<=8/31/2013",C:C,"<"&9.99E+307)

These formulations require you to know the end of months days, therefore risky. Hence:

=COUNTIFS(A:A,">=8/1/2013",A:A,"<="&EOMONTH("8/1/2013",0),C:C,"<"&9.99E+307)
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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