Help in COUNTIF()

Hey Guys,

 

I want your guidance in building a formula that returns number of cells which contains specific period. The data stuff is as under:

(01) I’ve created a range named DateRange which contains dates in dd/mm/yyyy format; the range includes cells from a1:a15;

(02) I want to count number of cells in DateRange which contains date values from 01/05/2009 (which is entered at b4 address) to 31/05/2009 (which is entered at c4 address);

(3) I tried following formula:

= COUNTIF(DateRange, "AND(DateRange >= B4, DateRange <= C4)")

But I’m getting 0 as the result though the DateRange contains 7 entries between 01/05/2009 to 31/05/2009.

I seek your valuable guidance to get me out of this prob. Also mention correct remedy if I’m on the wrong track.

Thanks,

AttachmentSize
Example.xls16 KB
Countif-Example-Nick.xls21 KB
Nick's picture

COUNTIF

hihi

please attach an example file..

- login

- edit your post.

- add attachment

Rgds

Nick

 

Help in COUNTIF() Function

 Date: 31.07.2009

 

Dear Nick,

Thanks for your interest.  I am also sorry for getting in touch with you so late.  As desired, i am attaching herewith an example file named Example.xls

Hope it will be much easier to solve my problem.

Regards,

Nick's picture

COUNTIF

hi

I have attached a solution to your original post.

My additions are in red

Rgds

Nick