Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joyce
 
Posts: n/a
Default How to count the number of times something occurs within a certain month

Hi,

Does anyone have a suggestion on how I should do the following?

I have a table column that contains dates like,

1 Feb 05
6 Feb 05
27 Feb 05
7 Mar 05
20 Mar 05

I want to be able to count Feb = 3 and Mar = 2.

Thanks!
Joyce


  #2   Report Post  
Roger Govier
 
Posts: n/a
Default How to count the number of times something occurs within a certainmonth

Hi Joyce

One way
=SUMPRODUCT(--(MONTH($A$1:$A$100)=2)
for February
Change to 3 for March etc. or put the Month number required in a cell and
refer to the cell
=SUMPRODUCT(--(MONTH($A$1:$A$100)=B1)

Regards

Roger Govier


Joyce wrote:
Hi,

Does anyone have a suggestion on how I should do the following?

I have a table column that contains dates like,

1 Feb 05
6 Feb 05
27 Feb 05
7 Mar 05
20 Mar 05

I want to be able to count Feb = 3 and Mar = 2.

Thanks!
Joyce


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 the number of Cells in one ROW with conditions Amanda Excel Worksheet Functions 2 September 9th 05 04:03 PM
Count number of items by month Christine Excel Worksheet Functions 2 September 1st 05 08:43 PM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM
PivotTable - Count by Month Gigi Excel Worksheet Functions 3 January 1st 05 12:30 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM


All times are GMT +1. The time now is 05:36 PM.

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"