How to Calculate number required to achieve target percentage

chieh

New Member
Joined
Feb 20, 2011
Messages
7
Office Version
  1. 2013
Platform
  1. Windows
HI Everyone:

I need to figure out Number of 5 Star Review required in order to increase Average rating (Column G) to Target 1 Average Rating (Column H)

Currently I have the formula in column G, and when entering a value in Column I, the average in column changes. See 2nd table for example.
I increase the # of 5 Star Needed on column I to change the average on column G.
The formula inside column G5 is: =((B2 * 1) + (C2 * 2) + (D2 *3) + (E2 * 4) + (F2 * 5) + (I2 *5)) / (B2 + C2 + D2 + E2 + F2 +I2)

However, this formula is not dynamic, and the best formula will be to Change the Target Avg. and in return it will automatically figure out # of 5 Star needed, Any idea on how to achieve this result?


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[/TR]
[TR]
[TD="align: center"]Store[/TD]
[TD="align: center"]1Star[/TD]
[TD="align: center"]2Star[/TD]
[TD="align: center"]3Star[/TD]
[TD="align: center"]4Star[/TD]
[TD="align: center"]5Star[/TD]
[TD="align: center"]Avg.[/TD]
[TD="align: center"]Target Avg.[/TD]
[TD="align: center"]# of Stars Needed.[/TD]
[/TR]
[TR]
[TD="align: center"]ABC[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]1.3[/TD]
[TD="align: center"]2.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]XYZ[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]2.47[/TD]
[TD="align: center"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]DEF[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2.6[/TD]
[TD="align: center"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]MNO[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]2.7[/TD]
[TD="align: center"]3.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
















Example of manually adjusting the # of star needed in Column I to increase the average rating on Column G. Same spreadsheet as above.


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[/TR]
[TR]
[TD="align: center"]Store[/TD]
[TD="align: center"]1Star[/TD]
[TD="align: center"]2Star[/TD]
[TD="align: center"]3Star[/TD]
[TD="align: center"]4Star[/TD]
[TD="align: center"]5Star[/TD]
[TD="align: center"]Avg.[/TD]
[TD="align: center"]Target Avg.[/TD]
[TD="align: center"]# of Stars Needed.[/TD]
[/TR]
[TR]
[TD="align: center"]ABC[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2.56[/TD]
[TD="align: center"]2.5[/TD]
[TD="align: center"]12[/TD]
[/TR]
[TR]
[TD="align: center"]XYZ[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]3.05[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD="align: center"]DEF[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3.00[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]MNO[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]2.76[/TD]
[TD="align: center"]3.5[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]















Thank you in advance.
Cheers!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi Gsbelbin:

Thank you very much. Your suggestion works perfectly.

Kind regards
Chieh
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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