I need help counting how many cells contain dates in September within a row. HELP!
I need help counting how many cells contain dates in September within a row. HELP!
The simplest way is to use a helper column.
will return 1 if month i September![]()
=IF(MONTH(A2)=9,1,0)
A sum function will then count how many cells contain 1.
Try this:
=COUNTIFS($1:$1,">="&DATE(2013,9,1),$1:$1,"<="&DATE(2013,9,30))
assuming your dates are in row 1.
Hope this helps.
Pete
One way...
=SUMPRODUCT(--(TEXT(B2:Z2,"mmm")="Sep"))
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
GOT IT! Thank you so much!!!!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Thanks.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks