In Excel: use =IF(logical_test, value_if_true, value_if_false); for several conditions, prefer IFS or nested IF only when the logic is genuinely sequential.
Write the test first, such as A2>=70 or B2="Paid".
Add the value to return when the test is true.
Add the value to return when the test is false.
For multiple bands, order tests from most specific to broadest and include a final fallback.
What this does
IF returns one result when a test is TRUE and another when it is FALSE. It is the basic decision function in Excel: pass/fail, yes/no, over/under target. Multiple IF statements can be nested, but modern Excel often reads better with IFS for a list of conditions or with SWITCH when one value maps to several labels. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “ifs excel multiple conditions” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a text operation that turns messy entries into clean, usable data into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Scores are in A2:A6 and 70 is the pass mark. In B2, =IF(A2>=70,"Pass","Fail") returns Pass for 84 and Fail for 62. For grades, =IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C",TRUE,"Needs work") tests the highest grade first and uses TRUE as the final catch-all. Use IF whenever a sheet has to make a decision per row: classify scores, flag overdue invoices, choose a commission rate, hide a calculation until inputs are present or turn messy status rules into a clear label. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “ifs excel multiple conditions”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Putting grade bands in the wrong order, so a broad test catches values before a stricter one can run.
- Forgetting quotes around text results like "Pass" while leaving numbers unquoted.
- Making a nested
IFso deep it cannot be audited; useIFS, SWITCH or a lookup table instead. - Omitting the false result, which can return FALSE when you expected a blank or a label.
Frequently asked questions
What is the syntax of IF?
=IF(test, value_if_true, value_if_false). The first argument must evaluate to TRUE or FALSE.
How do I write multiple IF statements?
Use IFS for condition/result pairs, or nest IF only when each later test depends on the previous one failing.
Can IF return numbers instead of text?
Yes. Return numbers without quotes, such as =IF(A2>0,1,0), and text with quotes.