View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JBeaucaire[_90_] JBeaucaire[_90_] is offline
external usenet poster
 
Posts: 222
Default Summing negative dollar amounts conditional to dates

With no columnar data in your question, you'll have to adapt this.

Column A = Dates
Column B = Values to add

Month to add - March (key date 3/1/2009)

Formula:
=SUMPRODUCT(--(DATE(YEAR($A$1:$A$100),
MONTH($A$1:$A$100),1)=DATE(2009,3,1)),$B$1:$B$100)

This formula converts all the dates in column A to the first day of their
month and compares them to the date(2009,3,1) = march 1, 2009, then adds the
values in column B that match.

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Bsting" wrote:

I have tried some of the other formulas on here and have not had any success
with sumif, sumifs and/or sumproduct.
What I need to do is sum all amounts that were paid within a particular
month and a specific year and I want the total to appear at the end of each
month and year in one cell.
My paid dates are in one column and amounts in another column, but not every
row has data in it. Any suggestions?

Thanks much

Becky