The SE formula in Excel is the IF function's logical test partner: you write =SE(condition; value_if_true; value_if_false) in Spanish-language Excel, or =IF(condition, value_if_true, value_if_false) in English. It checks whether a condition is true or false and returns one result or the other. You need a spreadsheet with data and a clear idea of the condition you want to test. The steps below work in Excel for Microsoft 365, Excel 2019 and later, on Windows and Mac; menu labels can differ slightly by version, device and region.
What You'll Need
- Excel for Microsoft 365, Excel 2019 or later (Windows or Mac), or Excel for the web.
- A worksheet with at least one column of values to test.
- A clear condition, such as "is the value in A2 greater than 100?"
- Knowledge of your Excel language setting: Spanish Excel uses SE and semicolons as separators; English Excel uses IF and commas.
Step-by-Step
- Open your workbook and click the cell where the result should appear. Leave an empty column next to your data so the formula does not overwrite anything.
- Type the equals sign (
=) to start a formula. Excel will show a function list as you type. - Type the function name. In Spanish Excel type
SE; in English Excel typeIF. Do not type both. If you are unsure which language your Excel uses, type=and start typingSE; if no function appears, tryIF. - Open the parenthesis and enter the logical test. For example, to check whether the value in A2 is over 100, type
A2>100. Use cell references rather than hard-coded numbers where possible so the formula can be copied down. - Add the separator. Spanish Excel uses a semicolon (
;); English Excel uses a comma (,). If you use the wrong one, Excel shows an error or refuses to accept the formula. - Enter the value if true. This can be text in quotes, a number, a cell reference or another formula. Example:
"Aprobado"orB2*1.1. - Add the separator again and enter the value if false. Example:
"Reprobado"or0. - Close the parenthesis and press Enter. The cell shows the result of the test. Example in Spanish Excel:
=SE(A2>100;"Alto";"Bajo"). The same formula in English Excel:=IF(A2>100,"Alto","Bajo"). - Copy the formula down by dragging the fill handle (the small square at the bottom-right of the selected cell) or by copying and pasting into the cells below. Relative references adjust automatically.
- Check a few results manually against the source values to confirm the condition and the returned values are what you intended.
Common Mistakes
- Mixing languages and separators. Writing
=SE(A2>100,"Alto","Bajo")in Spanish Excel fails because the separators are wrong. Match the function name and the separator to your Excel language setting. - Forgetting quotes around text. Text results must be in double quotes, for example
"Sí". Numbers and cell references do not need quotes. - Leaving out the false result. If you omit the third argument, Excel returns FALSE when the condition is not met, which is rarely what you want.
- Using the wrong comparison operator.
>means greater than,<means less than,=means equal to,<>means not equal to. Typing=>instead of>=causes an error. - Testing text without quotes. To test whether A2 equals "Sí", write
A2="Sí", notA2=Sí. - Copying formulas with absolute references missing. If part of the formula must stay fixed when copied, use
$before the column or row, for example$B$1.
Tips
- Use the Formula Bar to edit long formulas; press F2 to edit the selected cell in place.
- Nest a second SE/IF inside the false result to test more than two outcomes, but keep nesting to a few levels for readability.
- Use cell references for the comparison values so you can change thresholds without editing every formula.
- Name key cells (Formulas > Define Name) to make formulas easier to read.
- Test on a copy of the sheet before filling a large range, so a wrong condition does not overwrite important results.
Troubleshooting
- Excel shows #NAME? The function name is misspelled or in the wrong language for your Excel setting. Check whether your Excel expects SE or IF.
- Excel shows #VALUE! One of the arguments has the wrong type, often text without quotes or a cell that contains text where a number is expected.
- Excel shows a formula error dialog when you press Enter. A separator or parenthesis is missing. Count the opening and closing parentheses; they must match.
- The formula returns FALSE unexpectedly. The third argument is missing, or the condition is not being met. Check the actual value in the referenced cell.
- The formula shows as text instead of calculating. The cell is formatted as Text. Change the format to General, then re-enter the formula.
- Results do not update after editing source data. Check that calculation is set to Automatic (Formulas > Calculation Options).
- If none of the above works, close and reopen the workbook, then retype the formula from scratch in a clean cell to rule out hidden characters.
Frequently Asked Questions
Is SE the same as IF in Excel?
Yes. SE is the Spanish-language name of the IF function. The logic is identical; only the function name and the argument separator differ.
Can I use SE with text results?
Yes, but wrap the text in double quotes, for example "Aprobado". Without quotes Excel treats the text as a named range and returns an error.
What separator should I use in Spanish Excel?
Spanish Excel uses a semicolon between arguments. English Excel uses a comma. If you are unsure, type the formula and watch whether Excel accepts it.
Can I nest multiple SE formulas?
Yes. Place a second SE formula in the false-result position. Keep nesting shallow so the formula stays readable and easy to audit.
Why does my formula return FALSE?
Most often the third argument is missing, or the condition is genuinely not met. Add the false result and verify the referenced cell value.
Does SE work in Excel for the web?
Yes, with the same language rules: SE in Spanish-language sessions, IF in English-language sessions.