I have the following formula to count the number of COMPLETE records that contain dates that fall within a given range..
=SUMPRODUCT(--($N$2:$N$500<=$Q$1), --($N$2:$N$500>=$P$1), --(COUNTIF($R$1:$S$1, $M$2:$M$500)))
Where N2:N500 is the date the records were entered
Where M2:M500 is recorded as either COMPLETE or PENDING
Where P1 = September 1st, 2012
Where Q1 = today()
Where R1 = COMPLETE
Where S1 = PENDING
This formula works fine for calculating the number of "COMPLETE" records within the specified dates.
Now maybe I am overthinking this but I also want to calculate the number of "PENDING" records within the same date range.
I thought it should have been as easy as flipping the formula around but no.
I can easily have it calculate the number of BLANK cells within a given range as any cells with "PENDING" in M2:M500 would also contain blank values in N2:N500. The probelm there though is I have to expand the formula as I go in and entered completion dates.
Long story short I want to be able to calculate the number of either BLANK cells in N2:N500 within a given date range or the number of "PENDING" cells in M2:M500 within a given date range.
Thanks
Bookmarks