#1   Report Post  
Sachin Narute
 
Posts: n/a
Default Count Function

i have one cell as

A B
TC Detected Date
1 06-Jul-05
2 06-Jul-05
3 08-Jul-05
4 10-Jul-05
5 10-Jul-05
6 12-Jul-05
7 12-Jul-05
8 13-Jul-05
9 13-Jul-05
10 14-Jul-05
Now i want formula to count no of TC detected From date 08-Jul-05 to
13-Jul-05 (1 week)
Here ans is 9.
Plz Help me i am new to excel.

Regards,

Sachin

  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

=SUMPRODUCT(--($B$2:$B$10=DATE(2005,7,8),--($B$2:$B$100<=DATE(2005,7,13))

--
Regards

Roger Govier


"Sachin Narute" wrote in message
...
i have one cell as

A B
TC Detected Date
1 06-Jul-05
2 06-Jul-05
3 08-Jul-05
4 10-Jul-05
5 10-Jul-05
6 12-Jul-05
7 12-Jul-05
8 13-Jul-05
9 13-Jul-05
10 14-Jul-05
Now i want formula to count no of TC detected From date 08-Jul-05 to
13-Jul-05 (1 week)
Here ans is 9.
Plz Help me i am new to excel.

Regards,

Sachin



  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 1 Aug 2005 06:06:09 -0700, "Sachin Narute"
wrote:

i have one cell as

A B
TC Detected Date
1 06-Jul-05
2 06-Jul-05
3 08-Jul-05
4 10-Jul-05
5 10-Jul-05
6 12-Jul-05
7 12-Jul-05
8 13-Jul-05
9 13-Jul-05
10 14-Jul-05
Now i want formula to count no of TC detected From date 08-Jul-05 to
13-Jul-05 (1 week)
Here ans is 9.
Plz Help me i am new to excel.

Regards,

Sachin


Aside from the fact that I get a 7, the general formula would be:

=COUNTIF(rng,"="&A1)-COUNTIF(rng,""&A2)

where rng is the reference to your list of dates; A1 contains the first date
you wish to include; and A2 contains the last date you wish to include.


--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count Function Help Josh O. Excel Worksheet Functions 4 July 29th 05 11:04 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Count If Function Michele Excel Worksheet Functions 3 April 25th 05 02:31 PM
count if function with if statements Natalia Excel Worksheet Functions 3 April 22nd 05 02:52 AM
i need help with the "count" function kippercat Excel Worksheet Functions 1 March 9th 05 09:58 AM


All times are GMT +1. The time now is 06:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"