#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 87
Default count using criteria

Newbie ...please help. I would like to count all of the yes responses using a
date criteria so that the final results give me all the yes responses by
quarter. Example would be Jan-Mar = 1st quarter = 2 . Thank you

Admit Yes/NO
1/1/2007 y
2/22/2007 n
3/10/2007 y
4/6/2007 y
4/13/2007 n
5/2/2007 y
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default count using criteria

One way ..

Assuming data as posted within A1:B7,
put in say, C1:
=SUMPRODUCT((A2:A7=--"1-Jan-2007")*(A2:A7<=--"31-Mar-2007")*(B2:B7="y"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ferde" wrote:
Newbie ...please help. I would like to count all of the yes responses using a
date criteria so that the final results give me all the yes responses by
quarter. Example would be Jan-Mar = 1st quarter = 2 . Thank you

Admit Yes/NO
1/1/2007 y
2/22/2007 n
3/10/2007 y
4/6/2007 y
4/13/2007 n
5/2/2007 y

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 87
Default count using criteria

THANK YOU SOOOO MUCH.... you answered my prayers !!

"Max" wrote:

One way ..

Assuming data as posted within A1:B7,
put in say, C1:
=SUMPRODUCT((A2:A7=--"1-Jan-2007")*(A2:A7<=--"31-Mar-2007")*(B2:B7="y"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ferde" wrote:
Newbie ...please help. I would like to count all of the yes responses using a
date criteria so that the final results give me all the yes responses by
quarter. Example would be Jan-Mar = 1st quarter = 2 . Thank you

Admit Yes/NO
1/1/2007 y
2/22/2007 n
3/10/2007 y
4/6/2007 y
4/13/2007 n
5/2/2007 y

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default count using criteria

You're welcome, ferde.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ferde" wrote in message
...
THANK YOU SOOOO MUCH.... you answered my prayers !!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default count using criteria

Alternatively
=SUMPRODUCT((MONTH(A1:A6)=1)*(MONTH(A1:A6)<=3)*(B 1:B6="y"))
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"ferde" wrote in message
...
Newbie ...please help. I would like to count all of the yes responses
using a
date criteria so that the final results give me all the yes responses by
quarter. Example would be Jan-Mar = 1st quarter = 2 . Thank you

Admit Yes/NO
1/1/2007 y
2/22/2007 n
3/10/2007 y
4/6/2007 y
4/13/2007 n
5/2/2007 y





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
How to count nos. on 3 criteria Excel_Learner Excel Worksheet Functions 5 August 28th 06 03:17 PM
Count across worksheets with two criteria Aladin Akyurek Excel Worksheet Functions 4 May 1st 06 07:43 PM
Count If 3 Criteria Met kieffer Excel Worksheet Functions 9 April 15th 06 12:38 AM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM
Sum Count of Criteria Every 3rd Row Sam via OfficeKB.com Excel Worksheet Functions 5 December 11th 05 02:21 AM


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