Calculate tiered commission with IF
=B2*IFS(B2>=$E$4,$F$4,B2>=$E$3,$F$3,TRUE,$F$2)Excel · result on the sample sheet: 6 rows (C2:C7)
Describe what you need and get a working IFS formula for Excel and Google Sheets, tested on real data before you copy it. IFS checks a list of conditions in order and returns the value paired with the first one that is TRUE.
Each formula below was calculated on its own sample sheet. Open one to see the sheet, why it works, and to try it yourself.
=B2*IFS(B2>=$E$4,$F$4,B2>=$E$3,$F$3,TRUE,$F$2)Excel · result on the sample sheet: 6 rows (C2:C7)
=IFS(B2>=90,"A",B2>=80,"B",B2>=70,"C",B2>=60,"D",TRUE,"F")Excel · result on the sample sheet: 7 rows (C2:C8)
=IFS(B2<18,"Under 18",B2<35,"18-34",B2<55,"35-54",TRUE,"55+")Excel · result on the sample sheet: 8 rows (C2:C9)
=IFS(B2<1,"Small",B2<5,"Medium",B2<20,"Large",TRUE,"Freight")Google Sheets · result on the sample sheet: 8 rows (C2:C9)
=IF(C2="","Open",IF(C2>B2,"Late","On time"))Excel · result on the sample sheet: 6 rows (D2:D7)
=IF(C2<$F$1,"Expired",IF(C2-$F$1<=$F$2,"Expires soon","OK"))Excel · result on the sample sheet: 6 rows (D2:D7)
=IFS(B2<0,"Overdue",B2<=1,"Urgent",B2<=7,"This week",TRUE,"Later")Excel · result on the sample sheet: 6 rows (C2:C7)
=LET(days,$G$1-B2,IFS(days<=0,"Current",days<=30,"1-30",days<=60,"31-60",days<=90,"61-90",TRUE,"Over 90"))Excel · result on the sample sheet: 7 rows (D2:D8)
You describe the task in plain English, and it writes the formula, using IFS where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.
IFS checks a list of conditions in order and returns the value paired with the first one that is TRUE.
Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the IFS function page has a practice exercise.