Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DP DP is offline
external usenet poster
 
Posts: 58
Default SUMPRODUCT - Creating a weighted score in column with subtotals

Col A Col B
Count Average Score Manual Calculation
Single 0 -
Single 1 5.00
Single 2 4.83
Single 2 4.00
Single 0 -
Sub Total 5 4.53 22.67
Single 0 -
Single 3 4.22
Sub Total 3 4.22 12.67
Single 3 4.78
Single 0 -
Single 1 3.00
Single 1 4.67
Sub Total 5 4.40 22.00
Sub Total 2 3.83 7.67
Grand Total 15 4.37 4.33

Using Excel 2003

This is my current calculation and it returns 4.37 for the Grand Total line.
(SUMPRODUCT(A3:A17,A3:A17)/SUM(A3:A17)))

Trying to create a weighted average score for a group of items. The
Subtotals use the SUMPRODUCT command for the Singles above.
Using a SUMPRODUCT command for the Grand Total should work, but when I
manually calculate it out I'm getting a different number - 4.33 instead of
4.37.
Can you tell me what needs to be fixed?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default SUMPRODUCT - Creating a weighted score in column with subtotals

=SUMPRODUCT((A3:A17="Single")*B3:B17*C3:C17)/SUMIF(A3:A17,"Single",B3:B17)

HTH,
Bernie
MS Excel MVP


"DP" wrote in message
...
Col A Col B
Count Average Score Manual Calculation
Single 0 -
Single 1 5.00
Single 2 4.83
Single 2 4.00
Single 0 -
Sub Total 5 4.53 22.67
Single 0 -
Single 3 4.22
Sub Total 3 4.22 12.67
Single 3 4.78
Single 0 -
Single 1 3.00
Single 1 4.67
Sub Total 5 4.40 22.00
Sub Total 2 3.83 7.67
Grand Total 15 4.37 4.33

Using Excel 2003

This is my current calculation and it returns 4.37 for the Grand Total line.
(SUMPRODUCT(A3:A17,A3:A17)/SUM(A3:A17)))

Trying to create a weighted average score for a group of items. The
Subtotals use the SUMPRODUCT command for the Singles above.
Using a SUMPRODUCT command for the Grand Total should work, but when I
manually calculate it out I'm getting a different number - 4.33 instead of
4.37.
Can you tell me what needs to be fixed?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DP DP is offline
external usenet poster
 
Posts: 58
Default SUMPRODUCT - Creating a weighted score in column with subtotal

Bernie - I copied this calculation and am getting an error message
(#VALUE!). Are there any Add-In's that need to be active in order for it to
work?

"Bernie Deitrick" wrote:

=SUMPRODUCT((A3:A17="Single")*B3:B17*C3:C17)/SUMIF(A3:A17,"Single",B3:B17)

HTH,
Bernie
MS Excel MVP


"DP" wrote in message
...
Col A Col B
Count Average Score Manual Calculation
Single 0 -
Single 1 5.00
Single 2 4.83
Single 2 4.00
Single 0 -
Sub Total 5 4.53 22.67
Single 0 -
Single 3 4.22
Sub Total 3 4.22 12.67
Single 3 4.78
Single 0 -
Single 1 3.00
Single 1 4.67
Sub Total 5 4.40 22.00
Sub Total 2 3.83 7.67
Grand Total 15 4.37 4.33

Using Excel 2003

This is my current calculation and it returns 4.37 for the Grand Total line.
(SUMPRODUCT(A3:A17,A3:A17)/SUM(A3:A17)))

Trying to create a weighted average score for a group of items. The
Subtotals use the SUMPRODUCT command for the Singles above.
Using a SUMPRODUCT command for the Grand Total should work, but when I
manually calculate it out I'm getting a different number - 4.33 instead of
4.37.
Can you tell me what needs to be fixed?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default SUMPRODUCT - Creating a weighted score in column with subtotal

DP,

No, no add-ins, but you cannot have a dash in place of a zero or a blank.

HTH,
Bernie
MS Excel MVP


"DP" wrote in message
...
Bernie - I copied this calculation and am getting an error message
(#VALUE!). Are there any Add-In's that need to be active in order for it to
work?

"Bernie Deitrick" wrote:

=SUMPRODUCT((A3:A17="Single")*B3:B17*C3:C17)/SUMIF(A3:A17,"Single",B3:B17)

HTH,
Bernie
MS Excel MVP


"DP" wrote in message
...
Col A Col B
Count Average Score Manual Calculation
Single 0 -
Single 1 5.00
Single 2 4.83
Single 2 4.00
Single 0 -
Sub Total 5 4.53 22.67
Single 0 -
Single 3 4.22
Sub Total 3 4.22 12.67
Single 3 4.78
Single 0 -
Single 1 3.00
Single 1 4.67
Sub Total 5 4.40 22.00
Sub Total 2 3.83 7.67
Grand Total 15 4.37 4.33

Using Excel 2003

This is my current calculation and it returns 4.37 for the Grand Total line.
(SUMPRODUCT(A3:A17,A3:A17)/SUM(A3:A17)))

Trying to create a weighted average score for a group of items. The
Subtotals use the SUMPRODUCT command for the Singles above.
Using a SUMPRODUCT command for the Grand Total should work, but when I
manually calculate it out I'm getting a different number - 4.33 instead of
4.37.
Can you tell me what needs to be fixed?






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
If a column contains only 1 lowest score... JerryW Excel Discussion (Misc queries) 7 July 5th 07 11:22 PM
Make a sheet to enter score and score is copy to the proper cell.. Yan Excel Worksheet Functions 0 June 8th 07 02:41 PM
Weighted average using SUMIF and/or SUMPRODUCT MB51 Excel Discussion (Misc queries) 3 February 1st 07 08:39 PM
2 Dimensional Lookup by column & rows to return score grade loscherland Excel Discussion (Misc queries) 2 April 18th 06 12:05 PM
Creating a chart with subtotals karl Charts and Charting in Excel 0 March 10th 05 07:57 AM


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