Como funciona na prática.
SE é uma função essencial no Excel. Verifica se uma condição foi atendida e retorna um valor se for VERDADEIRO e outro se for FALSO. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.
💡 Em termos simples.
Checks whether a condition is true or false. If true, it outputs one value; if false, it outputs another.
"Think of this like a referee checking a score: IF the score is 70 or higher, they shout "Pass!"; otherwise, they shout "Fail!"."
Sintaxe.
Notação Oficial do Excel=SE(teste_lógico; [valor_se_verdadeiro]; [valor_se_falso])Argumentos.
Confira abaixo o detalhamento de cada parâmetro aceito por esta função.
A condition that can be evaluated to TRUE or FALSE.
Exemplo:C2>=70The value to return if logical_test evaluates to TRUE.
Exemplo:"Pass"The value to return if logical_test evaluates to FALSE.
Padrão: "Fail"Exemplo passo a passo.
Cenário de AplicaçãoPass/Fail Grade Check
Label student results as "Pass" if their score is 70 or above, otherwise "Fail".
| Student | Subject | Score | Status | Pass Threshold |
|---|---|---|---|---|
| Sophia | Math | 85 | — | 70 |
| Jackson | Math | 62 | — | — |
| Lucas | Math | 74 | — | — |
=IF(C2>=70, "Pass", "Fail")Evaluates IF over the sample table cells, placing the verified output in cell D2:D6.
Gerador de fórmula.
Abrir Assistente CompletoPreencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.
=SE()Comportamento do resultado.
Returns "Pass" based on sample evaluation criteria and active cell references.
Boas Práticas
- You can nest multiple IF statements inside each other to handle more than two outcomes, although the IFS function is now preferred.
- To leave a cell blank on FALSE, use empty quotes: "" as the value_if_false.
Erros Mais Comuns
- Avoid nesting more than 3-4 IF functions, as they become extremely hard to debug and maintain. Consider using IFS or VLOOKUP/XLOOKUP tables.
Compatibilidade de software e versão.
Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.
Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.
100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.
Perguntas frequentes.
Dúvidas TécnicasHow many IF statements can be nested in modern Excel?↓
Modern Excel allows up to 64 nested IF statements, but using IFS, SWITCH, or XLOOKUP is strongly recommended for readability and performance.
How do I check multiple conditions inside an IF statement?↓
Combine IF with logical functions AND or OR, for example: =IF(AND(A2>50, B2="Approved"), "Qualify", "Disqualify").