Countif Statement

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

Guest

Hi everyone,

After a bit of help with this statement

=COUNTIF(J21:J27,(">A2,<J2"))

All the cell references are the same custom date format ([$-809]d mmmm yyyy;@)
What I want to do is count the number of dates that fall between the A2 and
J2 references at the moment I get a '0' return.

Any suggestions greatly recieved

MTIA

Souchie40
 
Thank you for a speedy response that does the trick

Souchie40

Don Guillett said:
try sumproduct
=sumproduct((j21:j27>a2)*(j21:j27<j2))

--
Don Guillett
SalesAid Software
(e-mail address removed)
souchie40 said:
Hi everyone,

After a bit of help with this statement

=COUNTIF(J21:J27,(">A2,<J2"))

All the cell references are the same custom date format ([$-809]d mmmm
yyyy;@)
What I want to do is count the number of dates that fall between the A2
and
J2 references at the moment I get a '0' return.

Any suggestions greatly recieved

MTIA

Souchie40
 
glad to help

--
Don Guillett
SalesAid Software
(e-mail address removed)
souchie40 said:
Thank you for a speedy response that does the trick

Souchie40

Don Guillett said:
try sumproduct
=sumproduct((j21:j27>a2)*(j21:j27<j2))

--
Don Guillett
SalesAid Software
(e-mail address removed)
souchie40 said:
Hi everyone,

After a bit of help with this statement

=COUNTIF(J21:J27,(">A2,<J2"))

All the cell references are the same custom date format ([$-809]d mmmm
yyyy;@)
What I want to do is count the number of dates that fall between the A2
and
J2 references at the moment I get a '0' return.

Any suggestions greatly recieved

MTIA

Souchie40
 

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

Similar Threads

Date custom formats 2
Countif date before today 1
countifs Function not giving desired result with date criteria 2
Sorting and COUNTIF 6
COUNTIFS 2
COUNTIF, Sorting, on Two Sheets 1
Countif 11
countif() 3

Back
Top