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: 45
I think Fluff's is the way to go. The blanks in mine are artifacts created when the 14x80 array isn't filled in completely...because the series stops short of a complete row near the end. And when I applied TOCOL to the results, the blanks remain. Fluff's use of WRAPCOLS solves that issue...inducing errors for the remainder of that incomplete row. And the TOCOL option 2 cleans up the errors...clever!
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Glad we could help & thanks for the feedback.
Well... back to the drawing board.
OK... so I have to set it up differently and it needs to be duplicatable and the values need to change when needed. The goal is to have all of these numbers in one column (like previous) In the example below it would start with the number 1 and go down a column to 16. Then skip 55 numbers and go to 71-86. Then skip 55 numbers and go from 141-156. This will end with 1066. Basically I need to stack each row (on page 1 in the yellow) on top of each other.
Then right under 1066 will be the start of page 2 (Q1 n the example) and go 17-32, skip 55 numbers etc.
As long as I can change the values of the numbers in the formula, then I think I would need just the formula for one page and I can duplicate it with different values for the additional pages.
My brain hurts lol

Test 1 - 1100.csv
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBR
112345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
27172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
3141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
4211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
5281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
6351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
7421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
8491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
9561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
10631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
11701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
12771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
13841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
14911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980
15981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
161051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
17
18Page 1Page 2Page 3Page 4page 5
Sheet5
 
Upvote 0
How about
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70),SEQUENCE(,IF(y=65,6,16),y)))))),1)
 
Upvote 0
How about
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70),SEQUENCE(,IF(y=65,6,16),y)))))),1)
That is it! Now how do I change the numbers. For instance, instead of 1-1120, I will be using 114303-115423 (which is a range of 1120) Next month will be a different set of 1100+ numbers.
 
Upvote 0
You can use
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70,114303),SEQUENCE(,IF(y=65,6,16),y)))))),1)
or put the start number in another cell (say B1) and use
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70,B1),SEQUENCE(,IF(y=65,6,16),y)))))),1)
 
Upvote 0
You can use
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70,114303),SEQUENCE(,IF(y=65,6,16),y)))))),1)
or put the start number in another cell (say B1) and use
Excel Formula:
=DROP(REDUCE("",SEQUENCE(5,,,16),LAMBDA(x,y,VSTACK(x,TOCOL(CHOOSECOLS(SEQUENCE(16,70,B1),SEQUENCE(,IF(y=65,6,16),y)))))),1)
That worked. Thank you everyone for your help, much appreciated.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
You're welcome & thanks for the feedback.
Hey Fluff... your formula worked and I really appreciate that. However, this month there are 1200 numbers instead of 1100+ last month. How do I change the value to reflect the amount of numbers I need?
 
Upvote 0
You need to change the 16 & 70 in this part SEQUENCE(16,70,B1) depending on what you need
 
Upvote 0
You need to change the 16 & 70 in this part SEQUENCE(16,70,B1) depending on what you need
Well... I see that 16 x 70 = 1120 which is exactly what I asked for last time, but I am having a hard time figuring out what that represents to be able to change them to equal 1200. I know that 16 is the amount of rows If I change the 70 to 75 and multiply that by 16, I will get 1200 which is what I need, but it doesn't work in the formula.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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