Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default "Between" dates in Excel

Hi,

I have a column of dates in a worksheet and I need to find how many dates
are between 2 dates specified (probably month / quater end dates).

In Access I would use the between command, but how can I do this in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default "Between" dates in Excel

This example counts day in May 2007:-

=COUNTIF(A1:A100,"<="&DATE(2007,5,31))-COUNTIF(A1:A100,"<"&DATE(2007,5,1))

Mike

"Richie" wrote:

Hi,

I have a column of dates in a worksheet and I need to find how many dates
are between 2 dates specified (probably month / quater end dates).

In Access I would use the between command, but how can I do this in Excel?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default "Between" dates in Excel


try
=sumproduct((a2:a22b1)*(a2:a22<=b2))

--
Don Guillett
SalesAid Software

"Richie" wrote in message
...
Hi,

I have a column of dates in a worksheet and I need to find how many dates
are between 2 dates specified (probably month / quater end dates).

In Access I would use the between command, but how can I do this in Excel?


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
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! [email protected] Excel Discussion (Misc queries) 3 January 5th 07 02:18 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
what is syntax for if(between range of dates,"Q1","Q2")? TLB Excel Worksheet Functions 3 December 6th 05 05:19 PM
Find a "date" in a column of dates in Excel 2000 JR Hester Excel Worksheet Functions 3 November 1st 05 09:17 PM


All times are GMT +1. The time now is 10:27 AM.

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

About Us

"It's about Microsoft Excel"