Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Counting cell on condition

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
navin - 31 Jan 2007 17:09 GMT
Hi,

I have sheet, in which Col A contains dates, now i have to calculate
the dates with the condition of >= and <=.

for example:

Col A

01/01/07
01/01/07
01/01/07
01/01/07
01/01/07
01/02/07
01/02/07
01/02/07
01/02/07
01/02/07
01/03/07
01/03/07
01/03/07
01/03/07
01/04/07
01/04/07
01/04/07
01/04/07
01/04/07

Now in cell B2,i have to count the dates which are between 01/01/07
and 01/02/07. Please help.

thanks,
navin
@Homeonthecouch - 31 Jan 2007 17:48 GMT
If you have the first 01/01/07 in A1 then try
=COUNTIF(A:A,A1)

Hope this helps

Andrew

> Hi,
>
[quoted text clipped - 30 lines]
> thanks,
> navin
Don Guillett - 31 Jan 2007 17:49 GMT
=sumproduct((a2:a22>=b1)*(a2:a22<b2))
Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Hi,
>
[quoted text clipped - 30 lines]
> thanks,
> navin
Bob Umlas - 31 Jan 2007 19:14 GMT
=SUMPRODUCT(--(a2:a22>=b1),--(a2:a22<b2))
Bob Umlas

> Hi,
>
[quoted text clipped - 30 lines]
> thanks,
> navin

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.