I need to calculate the Average star review and the target star review in excel

Globalcrossways4

New Member
Joined
Jul 29, 2021
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Site1Star2Star3Star4Star5StarAvg.Target Avg.# of stars needed
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​

The formula inside of cell g is :=((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2)
I need the formula for the Target average to complete the cycle and get the results
The Formula inside cell I is: =ROUNDUP((H2*SUM($B2:$F2)-(B2*1+C2*2+D2*3+E2*4+F2*5))/(5-H2),0)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
you will get a div error if blank
What actually gets put into the cells ?,

=((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2)
IFERROR ( ((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2) , "")

can you post using XL2BB - see menu/signature
 
Upvote 0
you will get a div error if blank
What actually gets put into the cells ?,

=((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2)
IFERROR ( ((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2) , "")

can you post using XL2BB - see menu/signature
I wish I was able to use the addon XL2BB but my system administrator will not authorize any add-ons. In the cells I enter the number of each type of review from each website. example:
Site1Star2Star3Star4Star5StarAvg.Target Avg.# of stars needed
Google
35​
242​
12​
950​
2745​
4.538153​
-3616​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
#DIV/0!​
0​
 
Upvote 0
Here is a shorter formula you can use for the average, assuming that "1Star" starts in column B:
Excel Formula:
=IFERROR(SUMPRODUCT(--(B2:F2*(COLUMN(B2:F2)-1)))/SUM(B2:F2),"")
 
Upvote 0
you will get a div error if blank
What actually gets put into the cells ?,

=((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2)
IFERROR ( ((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2) , "")

can you post using XL2BB - see menu/signature
1Star2Star3Star4Star5StarAvg.Target Avg.# of stars needed
423301081679913.74055-1286
18209644.06452-76
4746221754.07874-208
20116363.57813-46
292926431892.69231-301
900152.53333-8
25317182.81481-31
12006213.61538-29
200033.4-4
00000#DIV/0!0
179451504129794.11445-1453
11217611866854.2394-900
2662534933083.20937-466
92818263.79365-48
69527311883.825-245
7310193.7-23
0001294.96667-30
2003544.81356-57
This is an actual copy of the spreadsheet I am trying to create. Not sure if it will be of any help. Sorry all.
 
Upvote 0
the sumproduct provides the average as posted by Joe4
No. of stars needed , what star is that based on 3star number needed,
you have NO target , so The Formula inside cell I is: =ROUNDUP((H2*SUM($B2:$F2)-(B2*1+C2*2+D2*3+E2*4+F2*5))/(5-H2),0)
would not work
so not sure what the question is now

Book2
ABCDEFGHIJKL
11Star2Star3Star4Star5StarAvg.Target Avg.# of stars neededAverageStars
2423301081679913.74055-12863.74054683-1286
318209644.06452-764.06451613-76
44746221754.07874-2084.07874016-208
520116363.57813-463.578125-46
6292926431892.69231-3012.69230769-301
7900152.53333-82.53333333-8
825317182.81481-312.81481481-31
912006213.61538-293.61538462-29
10200033.4-43.4-4
1100000#DIV/0!0 0
12179451504129794.11445-14534.11444759-1453
1311217611866854.2394-9004.2393968-900
142662534933083.20937-4663.20936639-466
1592818263.79365-483.79365079-48
1669527311883.825-2453.825-245
177310193.7-233.7-23
180001294.96667-304.96666667-30
192003544.81356-574.81355932-57
Sheet1
Cell Formulas
RangeFormula
K2:K19K2=IFERROR(SUMPRODUCT(--(B2:F2*(COLUMN(B2:F2)-1)))/SUM(B2:F2),"")
L2:L19L2=ROUNDUP((H2*SUM($B2:$F2)-(B2*1+C2*2+D2*3+E2*4+F2*5))/(5-H2),0)
 
Upvote 0
the sumproduct provides the average as posted by Joe4
No. of stars needed , what star is that based on 3star number needed,

would not work
so not sure what the question is now

Book2
ABCDEFGHIJKL
11Star2Star3Star4Star5StarAvg.Target Avg.# of stars neededAverageStars
2423301081679913.74055-12863.74054683-1286
318209644.06452-764.06451613-76
44746221754.07874-2084.07874016-208
520116363.57813-463.578125-46
6292926431892.69231-3012.69230769-301
7900152.53333-82.53333333-8
825317182.81481-312.81481481-31
912006213.61538-293.61538462-29
10200033.4-43.4-4
1100000#DIV/0!0 0
12179451504129794.11445-14534.11444759-1453
1311217611866854.2394-9004.2393968-900
142662534933083.20937-4663.20936639-466
1592818263.79365-483.79365079-48
1669527311883.825-2453.825-245
177310193.7-233.7-23
180001294.96667-304.96666667-30
192003544.81356-574.81355932-57
Sheet1
Cell Formulas
RangeFormula
K2:K19K2=IFERROR(SUMPRODUCT(--(B2:F2*(COLUMN(B2:F2)-1)))/SUM(B2:F2),"")
L2:L19L2=ROUNDUP((H2*SUM($B2:$F2)-(B2*1+C2*2+D2*3+E2*4+F2*5))/(5-H2),0)
The target needed is 5 stars
 
Upvote 0
to get 5 star rating would need all stars to be 5
if you had just 1 , one star
and
100,000,000,000 5stars
that will still get an average of
4.99999999996
You'll never reach 5 stars unless you dont get any of the other stars , so not sure how your
Stars needed will work to achieve the maximum rating
 
Upvote 0
Solution

Forum statistics

Threads
1,215,454
Messages
6,124,933
Members
449,195
Latest member
Stevenciu

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