LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default Counting if Date1 is after and Date2 is before another date

First of all, apologies for putting this in a new question

If i have the following dates

A B C D E F
1 04/01/2005 17/02/2005 03/04/2005 03/07/2005 3/10/2005
03/01/2006
2 04/01/2005 18/02/2005 * Ans 1 * Ans 2 * Ans 3 *Ans 4
3 05/01/2005 18/02/2005
4 06/01/2005 19/02/2005
5 07/01/2005 20/02/2005

What formula need to be written in cells C2:C5 (*Ans 1 - 4) to give
* Ans 1 - Count if A2:A5 is greater than B1 AND B2:B5 is less than C1
* Ans 2 - Count if A2:A5 is greater than B1 AND B2:B5 is less than D1
* Ans 3 - Count if A2:A5 is greater than B1 AND B2:B5 is less than E1
* Ans 4 - Count if A2:A5 is greater than B1 AND B2:B5 is less than F1

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
Name The Day Of The Date2 Mathew P Bennett Excel Discussion (Misc queries) 5 July 10th 08 09:58 AM
Counting Date Changes Annabelle Excel Discussion (Misc queries) 1 November 13th 05 02:00 AM
Counting Date Changes Annabelle Excel Discussion (Misc queries) 3 November 13th 05 01:13 AM
date counting DrFreeze Excel Worksheet Functions 1 July 24th 05 03:44 PM
excel formula counting date to date in 4 columns stuie d Excel Worksheet Functions 1 May 4th 05 12:46 PM


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