Counting occurrences by date

  • Thread starter Thread starter lwilliams
  • Start date Start date
L

lwilliams

Good morning:

I need some help with the following. I have a range of dates in the format
MM/DD/YY and need to count occurrences by day, current week and current
month. Any help would be greatly appreciated.
 
this day
=COUNTIF(A2:A200,TODAY())

this week
=SUMPRODUCT(--(A2:A200>=TODAY()-WEEKDAY(TODAY())+1),--(A2:A200<TODAY()-WEEKDAY(TODAY())+8))

this month
=SUMPRODUCT(--(MONTH(A2:A200)=10))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Hi Bob:

Thanks for the answer. Seems like you are the one who always helps me. I
do appreciate it.
--
Larry


Bob Phillips said:
this day
=COUNTIF(A2:A200,TODAY())

this week
=SUMPRODUCT(--(A2:A200>=TODAY()-WEEKDAY(TODAY())+1),--(A2:A200<TODAY()-WEEKDAY(TODAY())+8))

this month
=SUMPRODUCT(--(MONTH(A2:A200)=10))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top