What you will build
Classify orders into three amount bands without stacking many IF expressions. This lesson uses fictional sample data so you can reproduce each action.
Learning objective
Complete the steps using the dataset below, explain why the feature or formula is used, and recognize issues when inputs change.
Prepare the sample data
Paste this example as tab-separated values beginning at A1 on a new worksheet:
Practice in your own copy
Make your own Google Sheets copy with the same data, formulas, formatting, filter and frozen header. The original remains unchanged.
Sign in to Google. If the original is not publicly shared, download the full workbook and import it into Google Sheets, or paste the example data into your own sheet.
Open the sample workbook in Google Drive (access required) ↗
Work through the example
Step 1: Enter the IFS formula in H2 in the Formula result area; keep the complete A1:F6 source table visible for comparison.
Step 2: Evaluate the thresholds from highest to lowest. With E2 = 120, the first two tests are false, so the TRUE fallback returns Low.
Formula to try
=IFS(E2>=300,"High",E2>=150,"Medium",TRUE,"Low")Checkpoint
| Amount | Expected IFS result |
|---|---|
| 120 | Low |
| 240 | Medium |
| 80 | Low |
| 320 | High |
| 160 | Medium |
Verified live in the _result workbook by changing E2 and restoring the sample: 120→Low, 240→Medium, 80→Low, 320→High, 160→Medium.
Common mistake and correction
Correction: select H2, confirm the full formula in the formula bar, and compare its E2 reference with the Amount value in the same row before editing any source value.
Independent practice
After following the example, complete this variation without editing the source data: Raise the High threshold and inspect which rows move to Medium.
Key takeaways
- ✓IFS evaluates condition/result pairs from left to right and returns the first matching result.
- ✓Order thresholds from highest to lowest when broader lower thresholds would otherwise match first.
- ✓In this sample, amounts >=300 return High, amounts >=150 and below 300 return Medium, and the TRUE fallback returns Low.
- ✓Keep the source Amount in column E aligned with the row referenced by the formula in H2.
- ✓When troubleshooting, inspect the selected result cell and the full formula bar before changing the dataset.
Check your understanding
Answer four questions about the practice sheet.
Continue learning
Previous lesson: IF function; Next lesson: IFERROR function.
Comments
No comments yet. Be the first to join the discussion.