Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Annette
 
Posts: n/a
Default sumproduct to add total amounts for the month

I used the formula for adding number of entries, but now I need to change it
to add the amounts that were collected during each month:

=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368))

A B C D
(date) (Status) (Due) (Paid)

9/2/04 30.00 40.00
9/3/04 25.00 25.00
10/1/04 15.00 12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368),B
ase!$D$2:$D$1368)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Annette" wrote in message
...
I used the formula for adding number of entries, but now I need to change

it
to add the amounts that were collected during each month:


=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368))

A B C

D
(date) (Status) (Due) (Paid)

9/2/04 30.00 40.00
9/3/04 25.00 25.00
10/1/04 15.00 12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette




  #3   Report Post  
Johannes
 
Posts: n/a
Default

How about:
=SUMPRODUCT( MONTH(Base!$A$2:$A$1368) = 9 , Lisan!$D$2:$D$1368 )
?


"Annette" schreef in bericht
...
I used the formula for adding number of entries, but now I need to change

it
to add the amounts that were collected during each month:


=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368))

A B C

D
(date) (Status) (Due) (Paid)

9/2/04 30.00 40.00
9/3/04 25.00 25.00
10/1/04 15.00 12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette




  #4   Report Post  
Annette
 
Posts: n/a
Default

Thanks, Bob ... perfect solution!

"Bob Phillips" wrote in message
...

=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368),B
ase!$D$2:$D$1368)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Annette" wrote in message
...
I used the formula for adding number of entries, but now I need to

change
it
to add the amounts that were collected during each month:



=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$1368))

A B C

D
(date) (Status) (Due)

(Paid)

9/2/04 30.00 40.00
9/3/04 25.00 25.00
10/1/04 15.00 12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette






  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Johannes
:-)
this as well needs the double minus :-)))
=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368) = 9) , Lisan!$D$2:$D$1368)

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
How about:
=SUMPRODUCT( MONTH(Base!$A$2:$A$1368) = 9 , Lisan!$D$2:$D$1368 )
?


"Annette" schreef in bericht
...
I used the formula for adding number of entries, but now I need to

change
it
to add the amounts that were collected during each month:



=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$13
68))

A B C

D
(date) (Status) (Due)

(Paid)

9/2/04 30.00

40.00
9/3/04 25.00

25.00
10/1/04 15.00

12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette







  #6   Report Post  
Johannes
 
Posts: n/a
Default

Yep, guessed that one... only is with sumproduct rigth?


"Frank Kabel" schreef in bericht
...
Hi Johannes
:-)
this as well needs the double minus :-)))
=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368) = 9) , Lisan!$D$2:$D$1368)

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
How about:
=SUMPRODUCT( MONTH(Base!$A$2:$A$1368) = 9 , Lisan!$D$2:$D$1368 )
?


"Annette" schreef in bericht
...
I used the formula for adding number of entries, but now I need to

change
it
to add the amounts that were collected during each month:



=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$13
68))

A B C

D
(date) (Status) (Due)

(Paid)

9/2/04 30.00

40.00
9/3/04 25.00

25.00
10/1/04 15.00

12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette







  #7   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
the double minus is used as ONE possible mathematical calculation to
coerce a boolean value. Instead of this you could use
0+(...)
1*(...)
(..)^1
N(...)
where (...) is a boolean expression

Performance difference is not really an issue though my testing showed
that -- is about 5 - 30% faster than the other ones
(N(...) the second fastest and (...)^1 the slowest one). so don't use
that option :-)

You could also use this to convert numeric values stored as Text to
real numbers (a substitute for the VALUE function)

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
Yep, guessed that one... only is with sumproduct rigth?


"Frank Kabel" schreef in bericht
...
Hi Johannes
:-)
this as well needs the double minus :-)))
=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368) = 9) , Lisan!$D$2:$D$1368)

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
How about:
=SUMPRODUCT( MONTH(Base!$A$2:$A$1368) = 9 ,

Lisan!$D$2:$D$1368 )
?


"Annette" schreef in bericht
...
I used the formula for adding number of entries, but now I need

to
change
it
to add the amounts that were collected during each month:




=SUMPRODUCT(--(MONTH(Base!$A$2:$A$1368)=9), --ISNUMBER(Lisan!$D$2:$D$13
68))

A B C
D
(date) (Status) (Due)

(Paid)

9/2/04 30.00

40.00
9/3/04 25.00

25.00
10/1/04 15.00

12.00


Total for column D for September $65.00

How can I change the formula to add the amounts paid per month?

Thanks!

Annette








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
How to extract month number from month name PM Excel Discussion (Misc queries) 2 January 19th 05 03:07 PM
Total number of each month in a column of dates GeorgeF. Excel Worksheet Functions 1 November 19th 04 06:10 PM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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