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

Boston Brandon

New Member
Joined
Mar 27, 2024
Messages
21
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: 44
Maybe
Fluff.xlsm
ABC
1Start num1
21Num of pages6
37Rows/page16
413Columns/Page14
519End num1200
625
731
837
943
1049
1155
1261
1367
1473
1579
1685
1791
1897
19103
20109
21115
22121
23127
24133
25139
26145
27151
28157
29163
30169
31175
32181
33187
34193
35199
36205
37211
38217
39223
40229
41235
42241
43247
44253
45259
46265
47271
48277
49283
50289
Sheet5
Cell Formulas
RangeFormula
A2:A1201A2=TOCOL(DROP(REDUCE("",SEQUENCE(C2,,C1),LAMBDA(x,y,LET(s,SEQUENCE(C3,C4,y,C2),VSTACK(x,IF(s>C5,1/0,s))))),1),2)
Dynamic array formulas.
That seems like it would work but for some reason, the value "2" is 203 cells down instead of 225 which would be the first cell in the second page. Which also means the rest of the values are wrong.
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Are your strip lengths always 14? If not, how do you determine the strip lengths?
Yes... always 14 columns by 16 rows. The example you gave me yesterday worked, I just need to be able to change the start and stop values which will effect the amount of cells and possible pages if there is only enough range to fill up 5 pages instead of 6.
 
Upvote 0
Yes... always 14 columns by 16 rows. The example you gave me yesterday worked, I just need to be able to change the start and stop values which will effect the amount of cells and possible pages if there is only enough range to fill up 5 pages instead of 6.
It worked for 1344 because 1344 is a multiple of 14, but 1200 isn't. So some of your strips will be shorter. Can you show the expected outcome when the number isn't a multiple of 14?
 
Upvote 0
It worked for 1344 because 1344 is a multiple of 14, but 1200 isn't. So some of your strips will be shorter. Can you show the expected outcome when the number isn't a multiple of 14?
I understand that. There isn't away to get the out come I want because of that math so I believe what I have will work and production will have to disregard the extra labels from 1201 to 1344. Not really a big deal as we are using the same amount of material anyway. Thank you very much for your help.
 
Upvote 0
So what do you want in those cells, should they be just blank?
I can have them blank, but it will produce a label without a number so I will just keep it the way it is. Production will have to disregard the extra labels from 1201 to 1344. Not really a big deal as we are using the same amount of material anyway. Thank you very much for your help and I am sorry for the confusion earlier. You have been awesome.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
One last comment. To figure out the minimum number of pages needed it's
Rich (BB code):
=ROUNDUP(EndingNum/16/14,0)
 
Upvote 0
See if this works for you.
Rich (BB code):
=DROP(REDUCE("",SEQUENCE(6),LAMBDA(a,b,VSTACK(a,SEQUENCE(16,14,b,6)))),1)
Red- Number of pages
Blue - Number of rows on each page
Purple- Number of columns on each page
Orange - Increase Increment
Book1
ABCDEFGHIJKLMNOP
1171319253137434955616773791
28591971031091151211271331391451511571637
316917518118719319920521121722322923524124713
425325926527127728328929530130731331932533119
533734334935536136737337938539139740340941525
642142743343944545145746346947548148749349931
750551151752352953554154755355956557157758337
858959560160761361962563163764364965566166743
967367968569169770370971572172773373974575149
1075776376977578178779379980581181782382983555
1184184785385986587187788388989590190791391961
12925931937943949955961967973979985991997100367
131009101510211027103310391045105110571063106910751081108773
141093109911051111111711231129113511411147115311591165117179
151177118311891195120112071213121912251231123712431249125585
161261126712731279128512911297130313091315132113271333133991
172814202632384450566268748097
18869298104110116122128134140146152158164103
19170176182188194200206212218224230236242248109
20254260266272278284290296302308314320326332115
21338344350356362368374380386392398404410416121
22422428434440446452458464470476482488494500127
23506512518524530536542548554560566572578584133
24590596602608614620626632638644650656662668139
25674680686692698704710716722728734740746752145
26758764770776782788794800806812818824830836151
27842848854860866872878884890896902908914920157
289269329389449509569629689749809869929981004163
2910101016102210281034104010461052105810641070107610821088169
3010941100110611121118112411301136114211481154116011661172175
3111781184119011961202120812141220122612321238124412501256181
3212621268127412801286129212981304131013161322132813341340187
3339152127333945515763697581193
34879399105111117123129135141147153159165199
35171177183189195201207213219225231237243249205
36255261267273279285291297303309315321327333211
37339345351357363369375381387393399405411417217
38423429435441447453459465471477483489495501223
39507513519525531537543549555561567573579585229
40591597603609615621627633639645651657663669235
41675681687693699705711717723729735741747753241
42759765771777783789795801807813819825831837247
43843849855861867873879885891897903909915921253
449279339399459519579639699759819879939991005259
4510111017102310291035104110471053105910651071107710831089265
4610951101110711131119112511311137114311491155116111671173271
4711791185119111971203120912151221122712331239124512511257277
4812631269127512811287129312991305131113171323132913351341283
49410162228344046525864707682289
508894100106112118124130136142148154160166295
51172178184190196202208214220226232238244250301
52256262268274280286292298304310316322328334307
53340346352358364370376382388394400406412418313
54424430436442448454460466472478484490496502319
55508514520526532538544550556562568574580586325
56592598604610616622628634640646652658664670331
57676682688694700706712718724730736742748754337
58760766772778784790796802808814820826832838343
59844850856862868874880886892898904910916922349
6092893494094695295896497097698298899410001006355
6110121018102410301036104210481054106010661072107810841090361
6210961102110811141120112611321138114411501156116211681174367
6311801186119211981204121012161222122812341240124612521258373
6412641270127612821288129413001306131213181324133013361342379
65511172329354147535965717783385
668995101107113119125131137143149155161167391
67173179185191197203209215221227233239245251397
68257263269275281287293299305311317323329335403
69341347353359365371377383389395401407413419409
70425431437443449455461467473479485491497503415
71509515521527533539545551557563569575581587421
72593599605611617623629635641647653659665671427
73677683689695701707713719725731737743749755433
74761767773779785791797803809815821827833839439
75845851857863869875881887893899905911917923445
7692993594194795395996597197798398999510011007451
7710131019102510311037104310491055106110671073107910851091457
7810971103110911151121112711331139114511511157116311691175463
7911811187119311991205121112171223122912351241124712531259469
8012651271127712831289129513011307131313191325133113371343475
81612182430364248546066727884481
829096102108114120126132138144150156162168487
83174180186192198204210216222228234240246252493
84258264270276282288294300306312318324330336499
85342348354360366372378384390396402408414420505
86426432438444450456462468474480486492498504511
87510516522528534540546552558564570576582588517
88594600606612618624630636642648654660666672523
89678684690696702708714720726732738744750756529
90762768774780786792798804810816822828834840535
91846852858864870876882888894900906912918924541
9293093694294895496096697297898499099610021008547
9310141020102610321038104410501056106210681074108010861092553
9410981104111011161122112811341140114611521158116411701176559
9511821188119412001206121212181224123012361242124812541260565
9612661272127812841290129613021308131413201326133213381344571
Sheet3
Cell Formulas
RangeFormula
A1:N96A1=DROP(REDUCE("",SEQUENCE(6),LAMBDA(a,b,VSTACK(a,SEQUENCE(16,14,b,6)))),1)
P1:P1344P1=TOCOL(A1#)
Dynamic array formulas.
OK... so this is the formula that worked with a starting number of "1". Where do I change that number? The place I thought it was, is not correct.
 
Upvote 0
OK... so this is the formula that worked with a starting number of "1". Where do I change that number? The place I thought it was, is not correct.
The first SEQUENCE.

1720634347478.png


The page # formula would change slightly.
Excel Formula:
=ROUNDUP(((EndingNum-Start)+1)/16/14,0)
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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