Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JAF
 
Posts: n/a
Default countif and dates

My spreadsheet includes a column with the date (mm/dd/yr) of the
entry. Can I use countif to count the number of entries that were made
in each month? Thanks, JAF
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(MONTH(F1:F10)=1))

Replace the 1 with the appropriate month number.

Biff

-----Original Message-----
My spreadsheet includes a column with the date (mm/dd/yr)

of the
entry. Can I use countif to count the number of entries

that were made
in each month? Thanks, JAF
.

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Just a heads up in case there might be blank cells, the formula will count
blank cells as January

=SUMPRODUCT(--(MONTH(F1:F10)=1),--(ISNUMBER(F1:F10)))

will not


Regards,

Peo Sjoblom


"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(MONTH(F1:F10)=1))

Replace the 1 with the appropriate month number.

Biff

-----Original Message-----
My spreadsheet includes a column with the date (mm/dd/yr)

of the
entry. Can I use countif to count the number of entries

that were made
in each month? Thanks, JAF
.


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



All times are GMT +1. The time now is 05:11 AM.

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"