CountDays? need to count days in range by month
=SUMPRODUCT(--(A1:A20-DAY(A1:A20)+1=DATE(2006,10,1)))
for October
--
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
"MhyphenL" wrote in message
...
I have random date ranges over the month break, but I need to get a day
count
by month to calculate rev by month.
Eg:
Range: 10/15/06-12/31/06 I need to know # of days in Oct, Nov, Dec from
that
range.
Was going to set up one column/month to then put the result into a formula
to figure (total rev for deal / # days in deal)*# of days in deal in that
month=revenue for month
Hope that makes sense.
Any help?
thanks in advance,
|