Function Problems

Excel Formula to Calculate a Bonus When All Sales Targets Are Met

Elise WilliamsElise Williams Nov 12, 2026 869 views

Question details

Calculate an employee bonus only if the employee meets the sales threshold in every assigned category.

Excel Formula to Calculate a Bonus When All Sales Targets Are Met
Product
Microsoft Excel
Device & OS
not provided
Scenario
Sales data is stored in an Excel Table with multiple sales-percentage records per employee ID, and a bonus must be calculated per employee.
Observed behavior
The bonus should return zero when any sales percentage for the same employee is below 90%; otherwise, it should calculate the applicable rate multiplied by the percentage.
Before you start

Make sure the data is formatted as an Excel Table and that the columns are named ID, Sales %, Rate, and %. Confirm that sales percentages are stored as numeric percentages, such as 90% or 0.9.

Solution 1Recommended

Use MINIFS to check every sales target before calculating the bonus

Use this method when each employee has multiple category records in an Excel Table and all records must meet the 90% threshold before a bonus is paid.

MINIFS returns the lowest Sales % for the current employee ID. If that lowest value is below 90%, the IF function returns zero. Otherwise, the formula calculates the bonus using the current row's Rate and % values.

1
Select the Bonus column cell

Click the first data cell in the Bonus column of your Excel Table.

2
Enter the bonus formula

Type or paste =IF(MINIFS([Sales %],[ID],[@ID])<0.9,0,[@Rate]*[@[%]]) and press Enter.

3
Check the calculated result

Excel fills the formula down the Table column automatically. Employees with any Sales % below 90% receive 0; eligible employees receive Rate multiplied by %.

Use MINIFS to check every sales target before calculating the bonus
Use a strict greater-than rule if needed: The formula allows exactly 90%. If employees must exceed 90% in every category, change <0.9 to <=0.9.
Calculate bonuses with WPS Spreadsheets

Calculate All-Target Sales Bonuses in WPS Spreadsheets

WPS Spreadsheets lets you use IF and MINIFS formulas to verify every sales category for an employee before calculating a bonus. Open an Excel workbook in WPS Office, enter the formula in the Bonus column, and apply it across your data.

  1. 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, select Spreadsheets, and open your Excel .xlsx or .xls sales workbook.
  2. 2. Verify the sales data columns: Check that the worksheet includes employee IDs, sales percentages, rates, applicable percentages, and a Bonus column.
  3. 3. Enter the conditional bonus formula: Select the first Bonus cell and enter =IF(MINIFS([Sales %],[ID],[@ID])<0.9,0,[@Rate]*[@[%]]).
  4. 4. Apply the formula to all employees: Press Enter, then use the fill handle or Table column fill behavior to apply the formula to the remaining records.
Use MINIFS and IF to block bonuses when any sales target is below the required percentage.Open and edit Microsoft Excel .xlsx and .xls workbooks with formula compatibility.Use familiar spreadsheet tables, structured references, and fill-down tools.Work in a free, lightweight Office suite with an Excel-like interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula use MINIFS instead of SUMIFS?

MINIFS finds the lowest Sales % for each employee ID. Because every category must meet the target, one value below 90% is enough to return a zero bonus.

Does this formula pay a bonus when an employee reaches exactly 90%?

Yes. With <0.9, a value of exactly 90% qualifies. Replace <0.9 with <=0.9 if the rule requires sales to be greater than 90%.

How do I enter the formula in an Excel Table?

Click the first cell under the Bonus column, enter =IF(MINIFS([Sales %],[ID],[@ID])<0.9,0,[@Rate]*[@[%]]), and press Enter. Excel should apply it to the Table column.

What happens if an employee has one category at 85% and other categories above 90%?

MINIFS returns 85%, which is below 90%, so the IF function returns 0 for that employee's bonus.