About this lesson

C3 LESSON 17 · PASS

Nested IF and IFS: rating stores in bands in Google Sheets

In Google Sheets, nest IFs for three or more bands, =IF(B2>=0.15,"Strong",IF(B2>=0.08,"OK","Review")), or use IFS, =IFS(B2>=0.15,"Strong",B2>=0.08,"OK",TRUE,"Review"). IFS returns the result of the first test that's TRUE, so put the bands in order and finish with TRUE as a catch-all.

Using Excel? Do this lesson in Excel.

=IF(B2>=0.15,"Strong",IF(B2>=0.08,"OK","Review"))

What you'll practise

Rate hardware stores by EBITDA margin with a nested IF, fix an IFS with its bands in the wrong order, then band sales growth with a catch-all.

3 steps · 30 points · the cells outlined in gold below

  • nested IF
  • IFS
  • band order
  • TRUE as a catch-all

The data

ABCDE
1StoreEBITDA marginSales growthMargin ratingGrowth rating
2Parramatta16.2%4.1%
3Penrith9.4%-2.3%
4Wollongong7.1%1.2%
5Newcastle13.8%6.7%
6Gosford15.3%5.4%
7Dubbo8%-5.1%
8Albury-1.8%-3.4%
9Orange11.2%9.3%
10Bathurst5.9%-0.8%
11
12Draft (Parramatta)OK

Semester pass · A$49 for six months

This drill comes with the semester pass.

Every lesson, for A$49 every six months. Cancel any time and you keep the pass until the six months you've paid for run out.