Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Edgar Thoemmes
 
Posts: n/a
Default Sum Product Help Needed

Hi

I am trying to use SUMPRODUCT to sum the values of a list by 2 conditions.
The list has a date column and a Category column and in my summary table i
would like to summarise all entries by date and column

Category is held in Summary!A3 and month is held in Summary!B1.

Can anyone point out where i am going wrong?

TIA

=SUMPRODUCT(Expenditure!$C$2:$C$100=Summary!A3)*MO NTH(Expenditure!$A$2:$A$100=MONTH(Summary!$B$1))
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

First of all, it sounds like you might do better with a Pivot Table:

http://peltiertech.com/Excel/Pivots/pivotstart.htm

http://cpearson.com/excel/pivots.htm

If you want to use SUMPRODUCT(), assuming your expenses are in
Expenditures!B2:B100, one way:


=SUMPRODUCT(--(Expenditure!$C$2:$C$100=Summary!A3),
--(MONTH(Expenditure!$A$2:$A$100)=MONTH(Summary!$B$1 )),
Expenditure!$B$2:$B$100)





For an explanation of the usage of "--" see

http://www.mcgimpsey.com/excel/doubleneg.html



In article ,
"Edgar Thoemmes" wrote:

I am trying to use SUMPRODUCT to sum the values of a list by 2 conditions.
The list has a date column and a Category column and in my summary table i
would like to summarise all entries by date and column

Category is held in Summary!A3 and month is held in Summary!B1.

Can anyone point out where i am going wrong?

TIA

=SUMPRODUCT(Expenditure!$C$2:$C$100=Summary!A3)*MO NTH(Expenditure!$A$2:$A$100=
MONTH(Summary!$B$1))

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
Which Function(s) do I use? LB Excel Worksheet Functions 3 January 6th 05 02:53 AM
product sum per month per customer Pete Petersen Excel Worksheet Functions 2 January 4th 05 04:23 PM
exxcel product activation.... b166er Excel Discussion (Misc queries) 1 January 2nd 05 05:42 PM
my computor crashed and I lost my product code to reinstall how c. jamie Excel Discussion (Misc queries) 2 December 7th 04 06:08 PM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


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