LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default counting based on two dates

With start and end dates in cells c1 and D1 try the below

=SUMPRODUCT((A2:A10<C1)*(B2:B10D1))

If this post helps click Yes
---------------
Jacob Skaria


"AccessNoviceButTrying" wrote:

I have two columns which both contains dates. I want a count based on
criteria from the dates. For example...

Start Date End Date
01/01/08 12/31/08
3/15/07 12/01/09
5/5/09 10/01/09
10/01/08

How would i get a total count of items that started before 06/01/08 and
ended after 06/01/09.

it would be 1 in the example above.

Thanks

 
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
Counting dates based on certain criteria steve_sr2[_2_] Excel Worksheet Functions 5 March 1st 08 12:42 AM
Counting based on location & dates jpreman Excel Discussion (Misc queries) 1 March 28th 07 03:08 PM
Counting based on location & dates Mike Excel Discussion (Misc queries) 0 March 28th 07 01:55 AM
Counting based on location & dates jpreman Excel Discussion (Misc queries) 0 March 28th 07 01:14 AM
Counting based on location & dates Humphrey Excel Discussion (Misc queries) 0 March 28th 07 12:10 AM


All times are GMT +1. The time now is 11:33 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"