Hoppa till huvudinnehåll

Hur upprepar jag nummerserien i Excel?

Har du någonsin försökt fylla i en kolumn med en upprepad sekvens av siffror i Excel? Till exempel vill jag fylla kolumnen med 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4. Finns det någon snabb metod för att lösa detta problem i Excel?

Upprepa nummersekvensen i Excel med formeln


pil blå höger bubbla Upprepa nummersekvensen i Excel med formeln

För att upprepa nummersekvensen kan följande enkla formel hjälpa dig.

1. Skriv in nummer 1 i en cell där du vill placera de upprepade sekvensnumren kommer jag att ange det i cell A1.

2. Följ cellen och skriv sedan den här formeln = MOD (A1,4) +1 in i cell A2, se skärmdump:

doc-repeat-sekvens-1

3. Dra sedan påfyllningshandtaget till cellerna som du vill innehålla denna formel, så får du upprepade sekvensnummer, se skärmdump:

doc-repeat-sekvens-1

Anmärkningar:

1. I ovanstående formel, A1 är cellen som ditt första nummer stannade i, och siffran 4 anger det upprepade sekvensnumret. Om du behöver sekvensen upprepas som 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, behöver du bara ändra 4 till 5.

2. Och den här formeln tillämpas bara på den enkla nummersekvensen, om du vill upprepa textsträngsekvensen, som A1001, A1002, A1003, fungerar inte denna formel.

3. Ditt sekvensnummer måste börja från nummer 1, om inte, kan formelresultatet vara fel.

 

Bästa kontorsproduktivitetsverktyg

🤖 Kutools AI Aide: Revolutionera dataanalys baserat på: Intelligent utförande   |  Generera kod  |  Skapa anpassade formler  |  Analysera data och generera diagram  |  Anropa Kutools funktioner.
Populära funktioner: Hitta, markera eller identifiera dubbletter   |  Ta bort tomma rader   |  Kombinera kolumner eller celler utan att förlora data   |   Rund utan formel ...
Superuppslag: Flera kriterier VLookup    VLookup med flera värden  |   VSök över flera ark   |   Fuzzy Lookup ....
Avancerad rullgardinslista: Skapa snabbt en rullgardinslista   |  Beroende rullgardinslista   |  Flervals-rullgardinslista ....
Kolumnhanterare: Lägg till ett specifikt antal kolumner  |  Flytta kolumner  |  Växla synlighetsstatus för dolda kolumner  |  Jämför intervall och kolumner ...
Utvalda funktioner: Rutnätsfokus   |  Designvy   |   Stor formelbar    Arbetsbok & Bladhanterare   |  Resursbibliotek (Automatisk text)   |  Datumväljare   |  Kombinera arbetsblad   |  Kryptera/Dekryptera celler    Skicka e-postmeddelanden efter lista   |  Superfilter   |   Specialfilter (filtrera fet/kursiv/genomstruken...) ...
Topp 15 verktygssatser12 text verktyg (lägga till text, Ta bort tecken, ...)   |   50+ Diagram Typer (Gantt Chart, ...)   |   40+ Praktiskt Formler (Beräkna ålder baserat på födelsedag, ...)   |   19 Införande verktyg (Infoga QR-kod, Infoga bild från sökväg, ...)   |   12 Konvertering verktyg (Siffror till ord, Valutaväxling, ...)   |   7 Slå ihop och dela verktyg (Avancerade kombinera rader, Dela celler, ...)   |   ... och mer

Uppgradera dina Excel-färdigheter med Kutools för Excel och upplev effektivitet som aldrig förr. Kutools för Excel erbjuder över 300 avancerade funktioner för att öka produktiviteten och spara tid.  Klicka här för att få den funktion du behöver mest...

Beskrivning


Fliken Office ger ett flikgränssnitt till Office och gör ditt arbete mycket enklare

  • Aktivera flikredigering och läsning i Word, Excel, PowerPoint, Publisher, Access, Visio och Project.
  • Öppna och skapa flera dokument i nya flikar i samma fönster, snarare än i nya fönster.
  • Ökar din produktivitet med 50 % och minskar hundratals musklick för dig varje dag!

 

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