Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Saintsman
 
Posts: n/a
Default Count returns for a period - year

I need to count staff survey results & compare year on year results
They score 1-10 for a number of questions
Date Score
Mar-2004 8
Apr-2004 9
Jul-2004 4
Jul-2004 7
Jul-2004 8
Jul-2004 9
Jul-2004 8
A similar set of results for2005 is produced and added to the bottom of the
list

How do I calculate the number of "8" scored in 2004; 2005 etc

Thanks for any help!
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

One way
=SUMPRODUCT(--(YEAR($A$2:$A$100)=2004),--($B$2:$B$100=8))

Rather than hardcoding the 2004 and 8 into the formula, if you put Year in
D1 and Number inE1 then just cahnging these values would give you the other
results quickly
=SUMPRODUCT(--(YEAR($A$2:$A$100)=D1),--($B$2:$B$100=E1)
Change ranges to suit
--
Regards

Roger Govier


"Saintsman" wrote in message
...
I need to count staff survey results & compare year on year results
They score 1-10 for a number of questions
Date Score
Mar-2004 8
Apr-2004 9
Jul-2004 4
Jul-2004 7
Jul-2004 8
Jul-2004 9
Jul-2004 8
A similar set of results for2005 is produced and added to the bottom of
the
list

How do I calculate the number of "8" scored in 2004; 2005 etc

Thanks for any help!



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
count occurances of years between two year brackets eg >24 & <50 Sea Jay Excel Discussion (Misc queries) 2 June 30th 05 10:41 AM
count number of months year to date coal_miner Excel Worksheet Functions 1 May 4th 05 02:41 PM
Get count of records for a particular month and year maxtrixx Excel Discussion (Misc queries) 5 April 8th 05 07:39 PM
HELP - need to returns the current number of past month this year and ... elz64 Excel Worksheet Functions 6 April 6th 05 01:37 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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