Weighting to change if #div/0 error

Ghost141

New Member
Joined
Dec 7, 2023
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hey,

INV Acc
87.50%​
50.00%​
75.00%​
83.33%​
100.00%​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
Reporting
100.00%​
#DIV/0!​
#DIV/0!​
100.00%​
100.00%​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
Case Creat
42.86%​
60.00%​
75.00%​
71.43%​
100.00%​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
Prod
72%​
75%​
67%​
89%​
88%​
0%​
0%​
0%​
0%​
0%​
0%​
0%​
SCORE
74.39%​
#DIV/0!​
#DIV/0!​
86.96%​
94.00%​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​
#DIV/0!​

SCORE is based on INV Acc, Reporting and Case Creation (weighing 16.66% each) and Prod (weighing 50%). What formula would i use for the #DIV/0! errors in Reporting so INV Acc and Case Creat are weighted as 25% each when this occurs.

Current formula is =SUMPRODUCT(B45:B48,$N$27:$N$30)/SUM($N$27:$N$30)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
The closest i got to was =SUMPRODUCT(IF(ISNUMBER(B45:B48*$N$27:$N$31),B45:B48*$O$27:$O31))/SUM(IF(ISNUMBER($N$27:$N$31),$O$27:$O31)) but doesnt seem to do the trick
 
Upvote 0
Welcome to the Forum!

This would be the usual approach:

ABCDEFG
1Weight
2INV Acc16.67%87.50%50.00%75.00%83.33%100.00%
3Reporting16.67%100.00%#DIV/0!#DIV/0!100.00%100.00%
4Case Creat16.67%42.86%60.00%75.00%71.43%100.00%
5Prod50.00%72%75%67%89%88%
6SCORE74.39%67.00%70.20%86.96%94.00%
Sheet1
Cell Formulas
RangeFormula
B2:B4B2=1/6
C6:G6C6=SUM(IFERROR($B2:$B5*C2:C5,0))/SUM(ISNUMBER(C2:C5)*$B2:$B5)

In columns C and D, the weights are all scaled proportionally, i.e. to 20% for Inv Acc and Case Creat, and to 60% for Prod.

If you want to customise the weights to something different, you'll need to specify the various possibilities. For example, what if Inv Acc and Reporting are both #DIV/0! Should the weights be 50/50 for Case Creat and Prod?
 
Upvote 0
Thanks Stephen, yes the weightings are split between the first three catagories (50% made up up 16.66% each) and PROD (50%), so in theory if INV Acc, Reporting and Case Creat were all #DIV/0! all 100% would be weighted to PROD. At this stage the most likely #DIV/0! would be in reporting which is why i suggested that formula of INV acc and Creat picking up the excess weighting. Thanks heaps for your help!
 
Upvote 0
How is this?

ABCDEFGHIJKLM
1Weight
2INV Accequal60%#DIV/0!60%60%#DIV/0!60%#DIV/0!#DIV/0!60%60%#DIV/0!
3Reportingequal70%70%#DIV/0!70%#DIV/0!#DIV/0!70%#DIV/0!70%70%#DIV/0!
4Case Createqual80%80%80%#DIV/0!80%#DIV/0!#DIV/0!#DIV/0!80%#DIV/0!#DIV/0!
5Prod50%90%90%90%90%90%90%90%90%#DIV/0!#DIV/0!#DIV/0!
6SCORE80.0%82.5%80.0%77.5%85.0%75.0%80.0%90.0%70.0%65.0%n/a
Sheet1
Cell Formulas
RangeFormula
C6:M6C6=LET(a,AGGREGATE(1,6,C2:C4)*(1-$B5*ISNUMBER(C5)),IF(ISERROR(a),IFERROR(C5,"n/a"),a+$B5*IFERROR(C5,0)))
 
Upvote 1
Solution

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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