Calculation Issues

Calculate Five-Star Reviews Needed to Exceed a Target Rating in WPS Spreadsheets

Camila MilosovichCamila Milosovich Dec 2, 2026 868 views

Question details

Calculate the number of additional five-star reviews needed to exceed or reach a target average rating.

Calculate Five-Star Reviews Needed to Exceed a Target Rating in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The existing review count is in column C, the current average rating is in column D, and target ratings are entered in header cells such as J1 and K1.
Observed behavior
The workbook should return a whole number of additional five-star reviews for each target rating.
Before you start

Check that column C contains positive whole-number review counts, column D contains the corresponding current averages, and target cells contain numbers below 5. Use the most precise available averages, since rounded averages can change the result.

Solution 1Recommended

Calculate reviews needed to exceed a target rating

Use this formula when the new average must be strictly above the target, rather than equal to it.

1
Enter target ratings

Enter target ratings such as 3.5 in J1 and 4 in K1.

2
Enter the formula

Select J2 and enter =IF($D2>J$1,0,MAX(0,INT($C2*(J$1-$D2)/(5-J$1))+1)).

3
Copy across and down

Drag the fill handle from J2 across to K2 and down through the remaining review rows.

Calculate reviews needed to exceed a target rating
Exceeding is different from reaching: If the current average equals the target, this formula returns 1. It returns 0 only when the current average is already above the target.
WPS Spreadsheets

Calculate target review counts in WPS Spreadsheets

Enter your review counts, averages, and target ratings in WPS Spreadsheets, then use a formula to calculate the five-star reviews needed for each target.

  1. 1. Open your workbook: Open WPS Spreadsheets and select Open to load your rating workbook.
  2. 2. Check the source columns: Place the review count in column C and the current average rating in column D.
  3. 3. Add target ratings: Enter targets below 5 in J1 and K1, such as 3.5 and 4.
  4. 4. Calculate and fill: Enter =IF($D2>J$1,0,MAX(0,INT($C2*(J$1-$D2)/(5-J$1))+1)) in J2, then drag its fill handle across and down.
Calculate whole-number review requirements for multiple target ratingsCopy one formula across target columns and down review rowsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for rating calculations
QA img-9

Frequently Asked Questions

Why does the formula return one review when the current rating equals the target?

The formula for exceeding a target requires the new average to be strictly higher. Use the reach-or-exceed formula with ROUNDUP instead if an equal rating is sufficient.

Can these formulas calculate a target rating of 5?

No. The formulas divide by 5 minus the target, so a target of 5 causes a division-by-zero error. If the current average is below 5, no finite number of five-star reviews can raise it to exactly 5; no average can exceed 5.

Why might the result be inaccurate when the displayed average is rounded?

The formula uses the value stored in column D. If that value is a rounded estimate rather than the exact average, the calculated review count may differ from the actual number needed.

Can I use different target ratings in the same sheet?

Yes. Enter targets in header cells such as J1 and K1, then copy the formula across. The J$1 reference changes to K$1 while the review count and average remain tied to columns C and D.