Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with Countif

Status
Not open for further replies.

SmokeEater

Technical User
Feb 14, 2002
90
CA
I am trying to get a count of column F where it has a date of 31-Dec-2005 and where column E is blank. I thought this formula would do the trick

Code:
=COUNTIF(Tasks!F:F,AND(Tasks!E2:E147=DATEVALUE("31-dec-2005"),ISBLANK(Tasks!F2:F147)))

The only result I get is 0, there are 39 occurances, I counted them the old fashioned way, one at a time.

 
Code:
=SUMPRODUCT((Tasks!E2:E147=DATEVALUE("31-dec-2005"))*(ISBLANK(Tasks!F2:F147)))

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Thanks Glenn. Now I can see if I can stick my hair back in. I was pulling on it too much trying to figure this out.
 
Hi smoke,
Glenn is a star, so why don't you give him one ?
Cheers
André
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top