How do you make a number series every 14th number?

Boston Brandon

New Member
Joined
Mar 27, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I have 1100 sequential numbers that need to be in a certain order which I can't explain lol.
See image. Notice the pattern. the number "1" in cell one. The number "2" in cell 15. The number "3" in cell 29. (every 14th cell)
Number "17" in cell 2. Number "18" in cell 16, number "19" in cell 30 (every 16th number)
They will all be down column A till the number 1100. (I have them in C and E to be able to see the pattern)
Is there a fill series or table or something that would be able to do this?
 

Attachments

  • screenshot.jpg
    screenshot.jpg
    201.8 KB · Views: 27

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi & welcome to MrExcel.

What happens after the number 224 as that is the end of the sequence you have shown?
 
Upvote 0
paste in module then run

Code:
Sub FillBatch()
Dim i As Integer
Const kSKIP = 14

Range("A1").Select
For i = 1 To 1100
   ActiveCell.Value = i
   ActiveCell.Offset(kSKIP, 0).Select
Next
End Sub
 
Upvote 0
That is absolutely nothing like what the OP asked for, not to mention the use of active cell.
 
Upvote 0
This will do the 1st 224 numbers
Excel Formula:
=TOCOL(SEQUENCE(14,16),,1)
 
Upvote 0
I thought something like this, although there must be an easier way. Change the two 60's in the formula to extend the list. For example, right now, the "60" series begins in row 827 and ends with a value of 268. When you say "till the number 1100", does that mean the last series begins with 1100, then 1116, 1132... or are you talking about 1100 values entirely, coverings rows 1:1100?
MrExcel_20240326.xlsx
B
11
217
333
449
565
681
797
8113
9129
10145
11161
12177
13193
14209
152
1618
1734
1850
1966
82760
82876
82992
830108
831124
832140
833156
834172
835188
836204
837220
838236
839252
840268
Sheet5
Cell Formulas
RangeFormula
B1:B840B1=TOCOL(MMULT(SEQUENCE(14,,0,16),SEQUENCE(,60,,0))+MMULT(SEQUENCE(14,,1,0),SEQUENCE(,60,,1)),,1)
Dynamic array formulas.
 
Upvote 0
Upvote 0
@Boston Brandon Maybe try the below.
Enter it in the start cell of your choice of range eg A1 for range A1:A1100
You should then get a series with 78.5 iterations of your required pattern 🤞🤞🤞

Excel Formula:
=LET(r,ROW(1:1100),m,MOD(r,14),q,QUOTIENT(r,14),z,IF(m=0,13,m-1),(z*16)+q+IF(z=13,0,1))

Hope that helps.
 
Upvote 0
@Fluff, @KRice , @Snakehips Those will all work... and thank you. However, my request was not correct. I am going to try and explain exactly what I am doing.
I am making decals that have serial numbers on them that are sequential. There are 1100 total decals. My starting number is 114303 and ending number is 115403. I make these often and they way I do it is a fill series, saved as a .csv then data merged into InDesign. It is set up in InDesign to make 5 "pages". Each page (except for page 5) is set up to have 14 decals across and 16 decals decals down each row.
When I do the data merge, it numbers all the decals sequentially from the first one on page 1 on the top left, then continues from left to right and then down each row till the end. What I am looking to do is have the first decal be the starting number (114303) and then the one underneath that to be the second number (114304)
The image attached is exactly how I want each page set up. I used numbers 1-1100 because the actual numbers will change every month so I want to be able to do that.

serial numbers set up example.xlsx
ABCDEFGHIJKLMN
11811612413214014815616417218018819611041
22821622423224024825626427228028829621042
33831632433234034835636437238038839631043
44841642443244044845646447248048849641044
55851652453254054855656457258058859651045
66861662463264064865666467268068869661046
77871672473274074875676477278078879671047
88881682483284084885686487288088889681048
99891692493294094895696497298098899691049
1010901702503304104905706507308108909701050
1111911712513314114915716517318118919711051
1212921722523324124925726527328128929721052
1313931732533334134935736537338138939731053
1414941742543344144945746547348148949741054
1515951752553354154955756557358158959751055
1616961762563364164965766567368168969761056
1717971772573374174975776577378178979771057
1818981782583384184985786587388188989781058
1919991792593394194995796597398198999791059
20201001802603404205005806607408209009801060
21211011812613414215015816617418219019811061
22221021822623424225025826627428229029821062
23231031832633434235035836637438239039831063
24241041842643444245045846647448249049841064
25251051852653454255055856657458259059851065
26261061862663464265065866667468269069861066
27271071872673474275075876677478279079871067
28281081882683484285085886687488289089881068
29291091892693494295095896697498299099891069
30301101902703504305105906707508309109901070
31311111912713514315115916717518319119911071
32321121922723524325125926727528329129921072
33331131932733534335135936737538339139931073
34341141942743544345145946747548349149941074
35351151952753554355155956757558359159951075
36361161962763564365165966767568369169961076
37371171972773574375175976777578379179971077
38381181982783584385185986787588389189981078
39391191992793594395195996797598399199991079
404012020028036044052060068076084092010001080
414112120128136144152160168176184192110011081
424212220228236244252260268276284292210021082
434312320328336344352360368376384392310031083
444412420428436444452460468476484492410041084
454512520528536544552560568576584592510051085
464612620628636644652660668676684692610061086
474712720728736744752760768776784792710071087
484812820828836844852860868876884892810081088
494912920928936944952960968976984992910091089
505013021029037045053061069077085093010101090
515113121129137145153161169177185193110111091
525213221229237245253261269277285293210121092
535313321329337345353361369377385393310131093
545413421429437445453461469477485493410141094
555513521529537545553561569577585593510151095
565613621629637645653661669677685693610161096
575713721729737745753761769777785793710171097
585813821829837845853861869877885893810181098
595913921929937945953961969977985993910191099
606014022030038046054062070078086094010201100
61611412213013814615416217017818619411021
62621422223023824625426227027828629421022
63631432233033834635436237037838639431023
64641442243043844645446247047848649441024
65651452253053854655456257057858659451025
66661462263063864665466267067868669461026
67671472273073874675476277077878679471027
68681482283083884685486287087888689481028
69691492293093894695496297097898699491029
70701502303103904705506307107908709501030
71711512313113914715516317117918719511031
72721522323123924725526327127928729521032
73731532333133934735536337137938739531033
74741542343143944745546347147948749541034
75751552353153954755556357157958759551035
76761562363163964765566367167968769561036
77771572373173974775576377177978779571037
78781582383183984785586387187988789581038
79791592393193994795596397197998799591039
80801602403204004805606407208008809601040
Sheet1
 
Upvote 0
Well, this will give you 14 columns across, 80 rows down, beginning at the last argument value. But do you want this table, or something broken up into pages?
Excel Formula:
=TRANSPOSE(SEQUENCE(14,80,114303))
And something like this could pos-process the result to limit the output to just 1100 entries:
Excel Formula:
=LET(start,114303,a,TRANSPOSE(SEQUENCE(14,80,start)),IF(a>start+1100,"",a))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,988
Members
449,093
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top