In need of help

Renaye

New Member
Joined
Dec 10, 2016
Messages
9
Hi

I want to make new lotto combinations from one line say

35 30
17
43
34
45
15
1423

<tbody>
</tbody>

Knowing that the smallest number is one and the largest is 45, I wish to +1 to each of the above and continue.

Should look something like this

36311844351161524
37321945362171625
3833201373181726
3934212384191827
4035223395201928
4136234406212029
4237245417222130
4338256428232231
4439267439242332
45402784410252433
1412894511262534
2422910112272635
3433011213282736
4443112314292837
5453213415302938
613314516313039
723415617323140
833516718333241
943617819343342
1053718920353443
11638191021363544
12739201122373645
1384021122338371
1494122132439382
15104223142540393
16114324152641404
17124425162742415
18134526172843426
1914127182944437
2015228193045448
211632920311459
221743021322110
231853122333211
241963223344312
252073324355413
262183425366514
272293526377615
2823103627388716
2924113728399817
30251238294010918

<colgroup><col width="56" span="9" style="width:42pt"> </colgroup><tbody>
</tbody>

But instead it looks like this

363118443546161524
373219453647171625
383320463748181726
393421473849191827
403522483950201928
413623494051212029
423724504152222130
433825514253232231
443926524354242332
454027534455252433
464128544556262534
474229554657272635
484330564758282736
494431574859292837
504532584960302938
514633595061313039
524734605162323140
534835615263333241
544936625364343342
555037635465353443
565138645566363544
575239655667373645
585340665768383746
595441675869393847
605542685970403948
615643696071414049
625744706172424150
635845716273434251
645946726374444352
656047736475454453
666148746576464554
676249756677474655
686350766778484756
696451776879494857
706552786980504958
716653797081515059
726754807182525160
736855817283535261
746956827384545362
757057837485555463


<colgroup><col width="56" span="9" style="width:42pt"> </colgroup><tbody>
</tbody>
Is there a way that I can do this and say when the number hits 46 it changes to 1 again and continues to cycle through until I have enough combinations ?

I am extremely new at excel, I'm a excel virgin so I would appreciate if there was a formula that I could cut and paste into the excel formula bar.

Thanking you for your time, patients and understanding
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi AliGW

It was my fault, I opened up a new excel spreadsheet and just tried it again and it is working perfectly. Thank you

You're welcome! :)

Next time you post a query, please try to make the thread title more explicit.
 
Upvote 0
Hi everyone I have a new question regarding this thread.

is there a way I can do the above but only show the numbers that have rotated X amount of times ?

Example

If there were 7 numbers in a set
Minimum number was 1
Maximum number was 45
This would give me a total combinations of 45,379,620
This would be to many numbers, so I wish to shrink them down by say a sample frequency of 3,781,635. This reduces it down to 12 combinations.

01-02-03-04-05-06-07
01-06-26-27-36-38-45
02-03-10-17-24-40-43
02-10-14-19-20-21-42
03-06-26-33-41-43-45
04-05-15-23-25-27-35
04-20-23-26-30-31-32
05-19-22-32-39-44-45
07-08-14-21-27-28-35
08-13-15-32-40-41-42
10-14-17-26-32-38-40
13-17-22-25-30-32-34

I have come up with this =IF(A1=45,1,A1+1)+FREQUENCY(3781635) but it doesn't work. Is there a way ?

Thanking you all in advance
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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