ExcelFormulas logoExcelFormulas.
Perguntar à IA
Matrizes DinâmicasTestado por QA

SEQUENCE.

Generates a list or 2D grid of sequential numbers.

Matrizes Dinâmicas
ExcelExcel 365Excel 2021Google Sheets

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])
Dica: Argumentos entre colchetes [como_este] são opcionais; todos os outros são obrigatórios.

Argumentos.

Confira abaixo o detalhamento de cada parâmetro aceito por esta função.

rowsObrigatório

Number of rows to generate.

Exemplo: 5
columnsOpcional

Number of columns to generate (default 1).

Padrão: 1
startOpcional

Starting number (default 1).

Padrão: 1
stepOpcional

Increment step per number (default 1).

Padrão: 1

Exemplo passo a passo.

Cenário de Aplicação

Sequential ID Generator

Generate a list of consecutive invoice numbers starting at 101.

Generated Invoices
—
—
—
Fórmula Aplicada
=SEQUENCE(4, 1, 101, 1)
Resultado Esperado::101

Evaluates SEQUENCE over the sample table cells, placing the verified output in cell A1.

Gerador de fórmula.

Abrir Assistente Completo

Preencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.

Generated FormulaPronta para copiar

Comportamento do resultado.

Returns number 101 based on sample evaluation criteria and active cell references.

Amostra de Saída::101
Tipo de Dado::Numeric

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.
Matriz de Compatibilidade

Compatibilidade de software e versão.

Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.

Excel✓
Compatível
Excel 365✓
Compatível
Excel 2021✓
Compatível
Excel 2019✕
Não
Google Sheets✓
Compatível
Histórico e Versões do Excel

Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.

Notas sobre o Google Planilhas

Fully supported in Google Sheets. Generates multi-row/multi-column integer or stepped number series.

Perguntas frequentes.

Dúvidas Técnicas
Can 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.