Countif using more than one criteria.

S

Shayne

Hello

I am trying to create a function that will read a range of dates that
greater than one date and lesser than another date and return the total
number. I have tried the countif function without success. Any suggestions?
 
A

Aladin Akyurek

=COUNTIF(DateRange,">"&E2)-COUNTIF(DateRange,">="&F2)

where E2 houses a true date and F2 another true date with E2 <= F2.
 
S

Shayne

Thank you very much...it works great.

Shayne

Aladin Akyurek said:
=COUNTIF(DateRange,">"&E2)-COUNTIF(DateRange,">="&F2)

where E2 houses a true date and F2 another true date with E2 <= F2.
 
Top