E
eribs4e
I've scoured the newsgroups and web for some type of solution that
would lead me to solving my problem but I still haven't been able to
figure it out, soooo....it's time to post.
The following is what my sample data looks like:
2008-08-23 10:02
2008-08-23 10:42
2008-08-24 11:25
2008-09-23 12:39
2008-09-23 14:37
2008-09-24 9:53
2008-09-24 10:08
2008-10-24 10:17
2008-10-24 10:47
2009-10-24 11:00
2009-10-25 11:11
2009-11-24 12:26
My requirements are twofold. Firstly I need a count of total entries
for each year/month combination. For example:
2008-08 = 3
2008-09 = 4
2008-10 = 2
2009-10 = 2
2009-11 = 1
I've got this working with the following formula:
SUMPRODUCT(--(MONTH(A1:A12)=08),--(YEAR(A1:A12)=2008))
My second requirement dictates that I count the number of unique days
worked for each year/month combination. For example:
2008-08 = 2
2008-09 = 2
2008-10 = 1
2009-10 = 2
2009-11 = 1
This is where I'm stuck. I've managed to multiple formulas to count
the number of unique days in the whole range, but I haven't been able
to come up with a formula that counts the unique days based on the
month/year criteria. Anyone have any ideas?
Thanx in advance for the help.
eribs4e
would lead me to solving my problem but I still haven't been able to
figure it out, soooo....it's time to post.
The following is what my sample data looks like:
2008-08-23 10:02
2008-08-23 10:42
2008-08-24 11:25
2008-09-23 12:39
2008-09-23 14:37
2008-09-24 9:53
2008-09-24 10:08
2008-10-24 10:17
2008-10-24 10:47
2009-10-24 11:00
2009-10-25 11:11
2009-11-24 12:26
My requirements are twofold. Firstly I need a count of total entries
for each year/month combination. For example:
2008-08 = 3
2008-09 = 4
2008-10 = 2
2009-10 = 2
2009-11 = 1
I've got this working with the following formula:
SUMPRODUCT(--(MONTH(A1:A12)=08),--(YEAR(A1:A12)=2008))
My second requirement dictates that I count the number of unique days
worked for each year/month combination. For example:
2008-08 = 2
2008-09 = 2
2008-10 = 1
2009-10 = 2
2009-11 = 1
This is where I'm stuck. I've managed to multiple formulas to count
the number of unique days in the whole range, but I haven't been able
to come up with a formula that counts the unique days based on the
month/year criteria. Anyone have any ideas?
Thanx in advance for the help.
eribs4e