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: 15
Default Counting dates with conditions

Thanks for your help. Sorry for the delay in replying but I've had the
dreaded lurgy for the last few days.

"Fred Smith" wrote:

Try it this way:
=SUMPRODUCT(--(TEXT(A2:A10,"yyyymm")=TEXT(cell
reference,"yyyymm"),--(ISNUMBER(B2:B10)))

Regards,
Fred


"Saylindara" wrote in message
...
I have been counting the number of appointments that were sent for
referrals received in each month, e.g. for the sample below it would be 2
August and 1 for September. I have successfully been using this formula:

=SUMPRODUCT(--(MONTH(A2:A10)=cell reference with
month-year),--(ISNUMBER(B2:B10)))

This has been so successful I want to continue it for next year. Is there
some way I can include the year in the formula.



Referral received Appointment sent
3/8/09 31/8/09
4/8/09 2/9/09
5/8/09
2/9/09
3/9/09 4/9/09
5/9/09



.

 
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 with conditions מיכאל (מיקי) אבידן Excel Discussion (Misc queries) 0 December 9th 09 10:32 PM
Counting with Conditions but Only Once LindsE Excel Discussion (Misc queries) 8 October 22nd 09 12:52 PM
Counting for multiple conditions J. Catz. Excel Worksheet Functions 2 December 11th 07 11:12 PM
Counting on two conditions, one with a range Ted Metro Excel Worksheet Functions 4 March 25th 07 08:59 AM
counting based on 2 conditions Thrava Excel Discussion (Misc queries) 3 December 8th 04 10:19 PM


All times are GMT +1. The time now is 08:50 AM.

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"