Countif using more than one criteria.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
=COUNTIF(DateRange,">"&E2)-COUNTIF(DateRange,">="&F2)

where E2 houses a true date and F2 another true date with E2 <= F2.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top