use a date range as criteria in a countif formula

M

mbparks

I would like to create a COUNTIF formula and use a date range (9/1/04 through
9/30/04) as the criteria. How do I phrase the formula?
 
M

Max

One way:

Assuming the dates to be counted are in col A,
and you have the criteria start / end dates
in B1: 9/1/04, in C1: 9/30/04

you could put in D1:
=COUNTIF(A:A,">="&B1)-COUNTIF(A:A,">"&C1)

Format D1 as General or Number
 

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

Top