Function Problems

How to Use an Excel Formula for Tiered Values Based on Number Ranges in WPS Spreadsheets

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

User needs an Excel-compatible formula that returns 2 for values below 12, 1.5 for values from 12 up to 18, and 1.25 for values 18 and above.

How to Use an Excel Formula for Tiered Values Based on Number Ranges in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A user is calculating tiered results based on numeric ranges in a worksheet.
Observed behavior
The formula must return different results depending on whether the source value falls below 12, between 12 and 18, or is at least 18.
Before you start

Open your workbook in WPS Spreadsheets and identify the source cell that contains the numeric value, for example A1. Make sure the cell contains a number or a value that the spreadsheet can evaluate numerically.

Solution 1Recommended

Use the IFS Formula for Tiered Values

Use this modern, readable formula when your version of WPS Spreadsheets supports IFS and you want all tier conditions in one place.

IFS checks each condition in order and returns the first matching result. The final TRUE condition acts as the default result for values that do not meet the earlier conditions.

1
Select the result cell

Click the cell where you want the tiered result to appear, such as B1.

2
Enter the IFS formula

Type =IFS(A1<12,2,A1<18,1.5,TRUE,1.25) into the formula bar and press Enter.

3
Verify the returned tier

Change the value in A1 to test values below 12, between 12 and 18, and 18 or above to confirm the result is 2, 1.5, or 1.25.

Use the IFS Formula for Tiered Values
Formula result: This formula returns 2 when A1 is below 12, 1.5 when A1 is at least 12 but below 18, and 1.25 when A1 is 18 or above.
WPS Spreadsheets formula help

Calculate Tiered Values by Number Ranges in WPS Spreadsheets

You can complete this task directly in WPS Spreadsheets using Excel-compatible formulas. Enter =IFS(A1<12,2,A1<18,1.5,TRUE,1.25) in the result cell, or use the nested IF or LOOKUP alternatives as needed.

  1. 1. Open WPS Spreadsheets: Launch WPS Office and open a blank workbook or the file containing your numeric data.
  2. 2. Enter the source value: Type the value to be evaluated in cell A1, or use the cell that already contains your number.
  3. 3. Insert the tiered formula: Click the result cell and enter =IFS(A1<12,2,A1<18,1.5,TRUE,1.25) in the formula bar.
  4. 4. Press Enter and verify: Press Enter to calculate the result, then change A1 to verify that the formula returns the correct tier for each number range.
Use Excel-compatible IFS, IF, and LOOKUP formulas in WPS Spreadsheets.Open, edit, and save .xlsx workbooks without format loss.Free and lightweight Office suite with a familiar spreadsheet interface.No subscription required for everyday tiered value calculations.
microsoft office alternative - wps office

Frequently Asked Questions

Which formula returns 2 below 12, 1.5 from 12 to under 18, and 1.25 at 18 or above?

Use =IFS(A1<12,2,A1<18,1.5,TRUE,1.25). Replace A1 with your source cell and enter the formula in the result cell.

Does WPS Spreadsheets support LOOKUP with array constants?

Yes. You can enter =LOOKUP(A1,{0,12,18},{2,1.5,1.25}) in the formula bar. The lookup vector must be sorted in ascending order.

Why does the nested IF formula return 1.25 when the value is exactly 18?

In =IF(A1<12,2,IF(A1<18,1.5,1.25)), the condition A1<18 is false for 18, so the formula proceeds to the final default result of 1.25.

Can I use XLOOKUP for the same tiered value calculation?

Yes, in versions that support XLOOKUP, you can use =XLOOKUP(A1,{0,12,18},{2,1.5,1.25},,-1) to match the largest value less than or equal to A1.