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. |
If \[ A = \begin{bmatrix} 1 & 2 & 0 \\ -2 & -1 & -2 \\ 0 & -1 & 1 \end{bmatrix} \] then find \( A^{-1} \). Hence, solve the system of linear equations: \[ x - 2y = 10, \] \[ 2x - y - z = 8, \] \[ -2y + z = 7. \]