Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bob Phillips
 
Posts: n/a
Default

Sounds like the dates are not real dates

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bugaglugs" wrote in message
...
Bob - spot on, I'm getting a '0' which I can't see the reason for!

"Bob Phillips" wrote:

If they are dates, the format should not matter at all.

What problems are you experiencing? Do you get 0 or an answer which you
can't see the reason for?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bugaglugs" wrote in message
...
Bob - thanks for you prompt response - I'm still having problems, do

you
think it's how I've formatted the cells with the dates in? I've got

them
so
that however the user inputs the date it comes up "01-Apr-05" format?

"Bob Phillips" wrote:



=SUMPRODUCT(--(A2:A1000=DATE(2005,04,01)),--(A2:A1000<=DATE(2005,04,20))

If you are just looking for a month, you can use

=SUMPRODUCT(--(MONTH(A2:A1000)=4))

or if there can be multiple yers, then

=SUMPRODUCT(--(YEAR(A2:A1000)=2005),--(MONTH(A2:A1000)=4))

or

=SUMPRODUCT(--(TEXT(A2:A1000,"yyyymm")="200504")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bugaglugs" wrote in message
...
In column A I have dates in the following format;
01-Apr-05 right through until the end of March 2006
On a different sheet in my workbook I want to summarise the

information
by
counting the number of appointments between certain dates to get

monthly
totals. I just don't know how to say that I want all dates

between
01-Apr-05
until say 30-Apr-05p and so on. Is it possible to do this - the

formula I
was trying with was;
=COUNT(IF('Master
Sheet'!$A$2:$A$10000=DATEVALUE("01/04/2005:30/04/2005"),1,0))
But this isn't working!










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
formula for countif between 2 dates ilmeaz Excel Discussion (Misc queries) 2 August 5th 05 09:05 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
countif and dates JAF New Users to Excel 2 December 3rd 04 04:45 PM
COUNTIF With Multiple Dates, Columns and Text Shannon Excel Worksheet Functions 4 November 26th 04 11:12 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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