Logical Functions
Advanced

Nested IF with AND in one branch

One band needs two conditions; the next needs only one.

Task:

Year-end awards: Gold needs sales of at least 50,000 and a customer rating of at least 4.5; Silver needs sales of at least 30,000; everyone else gets None. In D2:D7 give each rep's award.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

7 rows × 4 columns6 cells you fill in
ABCD
1RepSalesRatingAward
2Ava620004.7
3Ben580004.1
4Cara310004.9
5Dan295004.8
6Eve500004.5
7Finn180003.9
What this exercise teachesMay contain the answer

Each level of a nested IF can carry a different kind of test. Because Gold is checked first, anyone who reaches the Silver test has already failed Gold for one reason or another — Ben on rating — and still lands in the right band.