The IFS() function in Excel is a modern replacement for nesting multiple IF statements. It evaluates multiple conditions and returns the value for the first TRUE condition.
Syntax: \[ =IFS(condition1, value1, condition2, value2, ...) \] Example: \[ \texttt{=IFS(A1<40, \"Fail\", A1<70, \"Pass\", A1>=70, \"Distinction\")} \] Why it is better than nested IFs:
Types of conditions in IFS:
Identify the type of code used by a trading company Ms. Ahana Ltd.:
| Codes | Accounts |
| CA005 | Super Ltd. |
| CA006 | Regina Ltd. |
| CA007 | Nasir & Sons Ltd. |
