Use SORTBY through 3 how-to topics: entering the SORTBY function, setting arguments to return sorted results, and checking errors with recalculation; you can jump from the How-to Index and complete each task step by step.
How-to Index
| No. | Topic | Membership Requirement |
|---|---|---|
| 1 | 1. Enter the SORTBY Function | Free |
| 2 | 2. Set Arguments and Return Sorted Results | Free |
| 3 | 3. Check Errors and Recalculate Manually | Free |
How-to Guide
1. Enter the SORTBY Function
Entry point: Formulas tab → formula bar
- Open WPS Spreadsheet and select the cell where you want to enter the formula.
- Type
=in the formula bar or directly in the cell. - Continue by typing
SORTBY(. - Check the syntax prompt that appears and confirm the function name and argument order.
Success Criteria
- Interface result: the SORTBY syntax prompt appears after you enter the function name.
- Next action available: you can continue entering the array, sort array, and sort order arguments.
Tips While Using
- Common mistake: if you do not type
=first, the content may be treated as plain text.- Environment note: the cell must be in an editable state.
2. Set Arguments and Return Sorted Results
Entry point: selected target cell → formula bar
- After
SORTBY(, enter the array or range that you want to sort. - Enter the corresponding sort array or range.
- Add sort order or more sort arrays if needed.
- Type the closing parenthesis and press Enter.
- Check whether the result appears as expected in the cell or returned range.
Success Criteria
- Interface result: the cell returns sorted results.
- Next action available: you can revise the arguments or combine the formula with other functions.
- No side effect: the source data range is not directly overwritten by entering the formula.
Tips While Using
- Common mistake: missing arguments, unmatched parentheses, or incorrect separators can cause formula errors.
- Environment note: the sort array should correspond correctly to the data being sorted.
3. Check Errors and Recalculate Manually
Entry point: result cell → formula bar / keyboard shortcut
- If an error appears, first check whether the parentheses are matched correctly.
- Check whether the argument types and count fit the function requirements.
- Check whether referenced cells contain numbers stored as text or circular references.
- Edit the formula and press Enter again.
- If needed, press
F9to trigger manual recalculation.
Success Criteria
- Interface result: the error message disappears and the result displays normally.
- Next action available: you can continue editing, copying, or nesting the formula.
Tips While Using
- Common mistake: numbers stored as text may affect sorting results.
- Environment note: manual recalculation depends on the worksheet being in a normal calculation state.