Como funciona na prática.
SEQUENCE é uma função essencial no Excel. Generates a list or 2D grid of sequential numbers. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.
Sintaxe.
Notação Oficial do Excel=SEQUENCE(rows, [columns], [start], [step])Argumentos.
Confira abaixo o detalhamento de cada parâmetro aceito por esta função.
Number of rows to generate.
Exemplo:5Number of columns to generate (default 1).
Padrão: 1Starting number (default 1).
Padrão: 1Increment step per number (default 1).
Padrão: 1Exemplo passo a passo.
Cenário de AplicaçãoSequential ID Generator
Generate a list of consecutive invoice numbers starting at 101.
| Generated Invoices |
|---|
| — |
| — |
| — |
=SEQUENCE(4, 1, 101, 1)Evaluates SEQUENCE over the sample table cells, placing the verified output in cell A1.
Gerador de fórmula.
Abrir Assistente CompletoPreencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.
=SEQUENCE()Comportamento do resultado.
Returns number 101 based on sample evaluation criteria and active cell references.
Boas Práticas
- Generate monthly dates automatically: =DATE(2025, SEQUENCE(12), 1).
Erros Mais Comuns
- Rows or columns specified as 0 or negative numbers return a #VALUE! error.
Compatibilidade de software e versão.
Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.
In Excel 2019, use the ROW(1:N) function with Ctrl+Shift+Enter or Excel auto-fill series handle.
Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.
Fully supported in Google Sheets. Generates multi-row/multi-column integer or stepped number series.
Perguntas frequentes.
Dúvidas TécnicasCan I use SEQUENCE across different worksheets in Excel?↓
Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =SEQUENCE(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.
What is the most common reason for errors in SEQUENCE?↓
Rows or columns specified as 0 or negative numbers return a #VALUE! error.
Does SEQUENCE work identically in Google Sheets?↓
Yes, SEQUENCE is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.