How to Calculate Tiered Rebates in Excel Using XLOOKUP
Question details
The user needs to calculate a tiered rebate based on an entered sales amount, where only the highest qualifying tier's percentage is applied.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Calculating financial rebates or commissions based on escalating sales thresholds.
- Observed behavior
- The goal is to return a specific rebate percentage for a sales amount using a lookup table, ignoring lower threshold tiers.
Ensure you have your rebate thresholds and corresponding percentage rates ready. Organize this data into a two-column lookup table sorted in ascending order before writing your formula.
Calculate Tiered Rebates Using the XLOOKUP Function
Use the XLOOKUP function with an exact or next smaller item match mode (-1) to find the correct rebate percentage based on your sales amount.
XLOOKUP is a powerful function for this scenario because it allows you to search a range for a threshold and return a value from a corresponding array. By setting the match mode to -1, Excel will look for an exact match, and if not found, it will step down to the next smaller threshold. This perfectly mimics how a tiered rebate structure works.
Set up a two-column table in your workbook (for example, on 'Sheet2'). Place your sales thresholds in column A and the corresponding rebate percentages in column B. Ensure you include a starting row with 0 and a 0% rebate, and sort the entire table in ascending order.
In your primary working sheet, enter the sales amount you want to evaluate into a specific cell, such as A2.
In the cell where you want the rebate percentage to appear, type the formula: `=XLOOKUP(A2,Sheet2!$A$2:$A$12,Sheet2!$B$2:$B$12,"",-1)`. This tells Excel to look at your sales amount in A2 and check it against the thresholds on Sheet2.
To get the actual rebate monetary value, multiply your sales amount by the returned percentage. You can do this in a new cell with `=A2*B2` (assuming B2 holds the percentage). Alternatively, you can combine everything into one formula: `=A2*XLOOKUP(A2,Sheet2!$A$2:$A$12,Sheet2!$B$2:$B$12,"",-1)`.

Calculate Rebates Easily in WPS Spreadsheet
WPS Office offers a powerful Spreadsheet application fully compatible with modern Excel functions like XLOOKUP. You can easily build advanced lookup tables, calculate tiered rebates, and analyze financial data for free.
- 1. Open WPS Spreadsheet: Launch WPS Office and create a new Spreadsheet document or open your existing workbook containing the sales data.
- 2. Set up your threshold table: Input your rebate threshold values and percentages into two columns on a separate sheet, ensuring they are sorted in ascending order.
- 3. Use the XLOOKUP formula: Type '=XLOOKUP(' into the formula bar and select your sales value, threshold array, and return array. Add '-1' for the match mode and press Enter to instantly calculate your rebate.

Frequently Asked Questions
Can I use VLOOKUP instead of XLOOKUP for tiered rebates?
Yes, you can use VLOOKUP by setting the 'range_lookup' argument to TRUE (or 1) for an approximate match. However, your threshold table must be sorted in ascending order, just like with XLOOKUP. XLOOKUP is generally preferred in newer spreadsheet versions because it is more flexible and less prone to column adjustment errors.
Why is my XLOOKUP formula returning an error for low sales amounts?
If your sales amount is lower than the lowest threshold in your lookup table, XLOOKUP will return an error when using the -1 match mode. To fix this, always include a starting tier in your lookup table, such as a threshold of 0 with a 0% rebate.
What happens if the sales amount exactly matches a threshold?
If the sales amount matches a threshold exactly, XLOOKUP with the -1 match mode will return the rebate percentage associated with that specific threshold before dropping down to a smaller item. The exact match always takes priority.




