Why does this SumProduct get a Value error?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,686
Office Version
  1. 365
Platform
  1. Windows
Can anyone tell me why the Avg 2 column gets a value error. It seems to me that it should be the same as the one in the Avg 1 column. And a different version in e# also gets a value error. But the one in E6 works. Is SumProduct not capable of multiplying a horizontal range and a vertical one?

SumProduct.xlsx
BCDEFGH
2WeightRanks
31Rank 1#VALUE!
41Rank 2
51Rank 31111
61Rank 46
74Weight sum
8
9TeamAvg 2Avg 1Rank 1Rank 2Rank 3Rank 4
10A#VALUE!1.501212
11B#VALUE!2.252133
12C#VALUE!2.503421
13D#VALUE!3.754344
Table Columns
Cell Formulas
RangeFormula
E3E3=SUMPRODUCT(E10:H10,B3:B6)
E6E6=SUMPRODUCT(E10:H10,E5:H5)
B7B7=SUM(Weights)
C10:C13C10=SUMPRODUCT(Table1[@[Rank 1]:[Rank 4]],Weights)/WtSum
D10:D13D10=([@[Rank 1]]*WtRank1 + [@[Rank 2]]*WtRank2 + [@[Rank 3]]*WtRank3 + [@[Rank 4]]*WtRank4) / WtSum
Named Ranges
NameRefers ToCells
'Table Columns'!Weights=OFFSET('Table Columns'!WtHdr,1,0):OFFSET('Table Columns'!WtSum,-1,0)B7, E3, C10:D13
'Table Columns'!WtHdr='Table Columns'!$B$2C10:C13, B7
'Table Columns'!WtRank1='Table Columns'!$B$3B7, E3, C10:D13
'Table Columns'!WtRank2='Table Columns'!$B$4B7, E3, C10:D13
'Table Columns'!WtRank3='Table Columns'!$B$5B7, E3, C10:D13
'Table Columns'!WtRank4='Table Columns'!$B$6B7, E3, C10:D13
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I got it to work with Transpose. I thought I tried it and failed, but now it works. Sorry for the bother.

SumProduct.xlsx
BCDEFGH
2WeightRanks
31Rank 1
41Rank 2
51Rank 3
61Rank 4
74Weight sum
8
9TeamAvg 2Avg 1Rank 1Rank 2Rank 3Rank 4
10A1.501.501212
11B2.252.252133
12C2.502.503421
13D3.753.754344
Table Columns
Cell Formulas
RangeFormula
B7B7=SUM(Weights)
C10:C13C10=SUMPRODUCT(Table1[@[Rank 1]:[Rank 4]],TRANSPOSE(Weights))/WtSum
D10:D13D10=([@[Rank 1]]*WtRank1 + [@[Rank 2]]*WtRank2 + [@[Rank 3]]*WtRank3 + [@[Rank 4]]*WtRank4) / WtSum
Named Ranges
NameRefers ToCells
'Table Columns'!Weights=OFFSET('Table Columns'!WtHdr,1,0):OFFSET('Table Columns'!WtSum,-1,0)B7, C10:D13
'Table Columns'!WtHdr='Table Columns'!$B$2C10:C13, B7
'Table Columns'!WtRank1='Table Columns'!$B$3B7, C10:D13
'Table Columns'!WtRank2='Table Columns'!$B$4B7, C10:D13
'Table Columns'!WtRank3='Table Columns'!$B$5B7, C10:D13
'Table Columns'!WtRank4='Table Columns'!$B$6B7, C10:D13
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,457
Members
452,516
Latest member
archcalx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top