Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Stan Leeds
 
Posts: n/a
Default

bobh727 wrote:
THANKS!!!! To all of you--I am overwhelmed!!!

"bobh727" wrote:


I am using the following formula to count the number of entries by month in a
log.
=SUMPRODUCT(--(MONTH(DATA!A2:A2019)=1))
All of the other months sum correctly except month 1 which counts all
January entries and then all blank cells in the range--that is, cells A1600
to A2019 are blank, waiting for future date entries.

Ideas, suggestions, help--all welcome here!


Just want to say thanks also.

Through this thread and assorted others, I found an answer to my problem.

I have a column of dates and then two columns of seperate expenditures.

I wanted to sum up the individual expenses by month by expenditure.

Date Spend1 Spend2
1/1/2005 $100.00 $30.00
2/14/2005 $50.00
3/15/2005 $25.00
etc..

I used
=SUMPRODUCT(--(MONTH(A2:A100)=2),--(A2:A100<"")*(C2:C100)). It
verifies that it is only checking cells with filled in dates and not
blanks, then sums up the cells C3:C100 or B3:B100, depending on which
one I need. The =4 is for the month of April.

Thanks again,

Stan
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 04:43 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"