Ir para o conteúdo principal

Como repetir a sequência numérica no Excel?

Você já tentou preencher uma coluna com uma sequência repetitiva de números no Excel? Por exemplo, quero preencher a coluna com 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4. Existe algum método rápido para resolver esse problema no Excel?

Repita a sequência numérica no Excel com a fórmula


seta azul bolha direita Repita a sequência numérica no Excel com a fórmula

Para repetir a sequência numérica, a seguinte fórmula simples pode ajudá-lo.

1. Insira numeros 1 em uma célula onde você deseja colocar os números de sequência repetidos, irei inseri-los na célula A1.

2. Siga a célula e digite esta fórmula = MOD (A1,4) +1 na célula A2, veja a captura de tela:

doc-repetir-sequência-1

3. Em seguida, arraste a alça de preenchimento até as células que você deseja que contenham esta fórmula, e você obterá os números de sequência repetidos, consulte a captura de tela:

doc-repetir-sequência-1

Observações:

1. Na fórmula acima, A1 é a célula em que seu primeiro número ficou, e o número 4 indica o número de sequência repetido. Se você precisa que a sequência seja repetida como 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, você só precisa mudar de 4 para 5.

2. E esta fórmula é aplicada apenas à sequência numérica simples, se você quiser repetir a sequência da string de texto, como A1001, A1002, A1003, esta fórmula não funcionará.

3. Seu número de sequência deve começar no número 1, caso contrário, o resultado da fórmula pode estar errado.

 

Melhores ferramentas de produtividade de escritório

🤖 Assistente de IA do Kutools: Revolucionar a análise de dados com base em: Execução Inteligente   |  Gerar Código  |  Crie fórmulas personalizadas  |  Analise dados e gere gráficos  |  Invocar funções do Kutools...
Recursos mais comuns: Encontre, destaque ou identifique duplicatas   |  Excluir linhas em branco   |  Combine colunas ou células sem perder dados   |   Rodada sem Fórmula ...
Super pesquisa: VLookup de múltiplos critérios    VLookup de múltiplos valores  |   VLookup em várias planilhas   |   Pesquisa Difusa ....
Lista suspensa avançada: Crie rapidamente uma lista suspensa   |  Lista suspensa de dependentes   |  Lista suspensa de seleção múltipla ....
Gerenciador de colunas: Adicione um número específico de colunas  |  Mover colunas  |  Alternar status de visibilidade de colunas ocultas  |  Compare intervalos e colunas ...
Recursos em destaque: Foco da Grade   |  Vista de Design   |   Grande Barra de Fórmula    Gerenciador de pastas de trabalho e planilhas   |  Biblioteca (Auto texto)   |  Data Picker   |  Combinar planilhas   |  Criptografar/Descriptografar Células    Enviar e-mails por lista   |  Super Filtro   |   Filtro Especial (filtro negrito/itálico/tachado...) ...
15 principais conjuntos de ferramentas12 Texto Ferramentas (Adicionar texto, Remover Personagens, ...)   |   50+ de cores Tipos (Gráfico de Gantt, ...)   |   Mais de 40 práticos Fórmulas (Calcule a idade com base no aniversário, ...)   |   19 Inclusão Ferramentas (Insira o código QR, Inserir imagem do caminho, ...)   |   12 Conversão Ferramentas (Números para Palavras, Conversão de moedas, ...)   |   7 Unir e dividir Ferramentas (Combinar linhas avançadas, Dividir células, ...)   |   ... e mais

Aprimore suas habilidades de Excel com o Kutools para Excel e experimente uma eficiência como nunca antes. Kutools para Excel oferece mais de 300 recursos avançados para aumentar a produtividade e economizar tempo.  Clique aqui para obter o recurso que você mais precisa...

Descrição


Office Tab traz interface com guias para o Office e torna seu trabalho muito mais fácil

  • Habilite a edição e leitura com guias em Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Abra e crie vários documentos em novas guias da mesma janela, em vez de em novas janelas.
  • Aumenta sua produtividade em 50% e reduz centenas de cliques do mouse para você todos os dias!

 

Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
if the Number is A1 to A15 (1 to 15 number) I want in D1 to I1 number (3 to 8) A2 to F2 Rows & E1 to J1 number (4 to 9) A3 to F3 Rows.. Likewise, .. Is there any formula for reparation?
This comment was minimized by the moderator on the site
Bom dia, como consigo fazer uma sequencia de números porem com ano fixo exemplo: 700/2022, 701/2022, 702/2022
This comment was minimized by the moderator on the site
How do I Excel formula for following?
seq with step of five 1,6,11,16,21,26
next seq with step of five 2,7,12,22,27
next seq with step of five 3,8,13,23,28
Result 1,6,11,16,21,26,2,7,12,22,27,3,8,13,23,28
=(MOD(SEQUENCE(A3);A2)) But how do you and a step to the next seq?
This comment was minimized by the moderator on the site
Hi, Jo,
Sorry, I can't get your problem clearly, so give you a formula as this:
=ROW()&","&ROW()+5&","&ROW()+10&","&ROW()+20&","&ROW()+25

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-sequence-number.png
If it's not what you want, please comment here. And you can insert your problem as screenshot here.
Thank you!
This comment was minimized by the moderator on the site
Hi,i need help. It takes up to much time typing 1 by 1.

Ex.

Scc 1 pt 1
Scc 1 pt 1
Scc 2 pt 2
Scc 2 pt 2

Sorry, im a beginner. I type it 1 by 1. When i drag it down the sequence is like this:

Scc 1 pt 1
Scc 1 pt 2
Scc 1 pt 3

How do I repeat it twice and and sequence like the first example?
This comment was minimized by the moderator on the site
Hello Bryanv,
Maybe the following formula can do you a favor:

="Scc "&INT((ROW(A1)-1)/2+1)&" pt "&INT((ROW(A1)-1)/2+1)

Tips: If you want to repeat the sequence n times, you just need to change the number 2 to whatever number you want in the formula.

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Hi, Can the same formula is used for the following sequence

Sample1 rep1
sample1 rep2
sample1 rep3
sample1 rep4
sample 2 rep1
sample2 rep2
sample 2 rep3
sample2 rep4


If not can you help me to create the above type of sequence
This comment was minimized by the moderator on the site
Hello, venkata,
To solve your problem, please apply the below formula:

="Sample"&INT((ROW(A1)-1)/4+1)&" rep"&1+MOD(ROW()-1,4)

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Can I use the same formula for
sequence like

Sample1 rep1
sample1 rep2
sample1 rep3
sample1 rep4
sample 2 rep1
sample2 rep2
sample 2 rep3
sample2 rep4
This comment was minimized by the moderator on the site
MY MOBILE NUMBER IS E.G. 11244-99666CAN I KNOW DIGIT 6 COMES HOW MANY TIMES IN MY MOBILE NUMBER
This comment was minimized by the moderator on the site
How can you do this with the first number in the sequence being zero? Ex. 00,10,20,30,00,10,20,30....
This comment was minimized by the moderator on the site
if you want the first number to be 0, you can use the following formula:
=MOD(A1 + 1, 4)
This comment was minimized by the moderator on the site
It doesn't work if you have zero as the first number in the pattern
This comment was minimized by the moderator on the site
How do I return "1" for x rows, then "2" for x rows, then "3" for x rows, etc.....
This comment was minimized by the moderator on the site
If x = 10, you could write down the first 10 1's (or autofill them) in A1:A10. Then at A11 you put down "=A1 + 1", which you then autofill as far as you want. Only works if x is the same for each number.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations