how to random all numbers

jamiguel77

Active Member
Joined
Feb 14, 2006
Messages
387
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
  2. Web
i have this table:

1141281421561
2142282422562
3143283423563
4144284424564
5145285425565
6146286426566
7147287427567
8148288428568
9149289429569
10150290430570
11151291431571
12152292432572
13153293433573
14154294434574
15155295435575
16156296436576
17157297437577
18158298438578
19159299439579
20160300440580
21161301441581
22162302442582
23163303443583
24164304444584
25165305445585
26166306446586
27167307447587
28168308448588
29169309449589
30170310450590
31171311451591
32172312452592
33173313453593
34174314454594
35175315455595
36176316456596
37177317457597
38178318458598
39179319459599
40180320460600
41181321461601
42182322462602
43183323463603
44184324464604
45185325465605
46186326466606
47187327467607
48188328468608
49189329469609
50190330470610
51191331471611
52192332472612
53193333473613
54194334474614
55195335475615
56196336476616
57197337477617
58198338478618
59199339479619
60200340480620
61201341481621
62202342482622
63203343483623
64204344484624
65205345485625
66206346486626
67207347487627
68208348488628
69209349489629
70210350490630
71211351491631
72212352492632
73213353493633
74214354494634
75215355495635
76216356496636
77217357497637
78218358498638
79219359499639
80220360500640
81221361501641
82222362502642
83223363503643
84224364504644
85225365505645
86226366506646
87227367507647
88228368508648
89229369509649
90230370510650
91231371511651
92232372512652
93233373513653
94234374514654
95235375515655
96236376516656
97237377517657
98238378518658
99239379519659
100240380520660
101241381521661
102242382522662
103243383523663
104244384524664
105245385525665
106246386526666
107247387527667
108248388528668
109249389529669
110250390530670
111251391531671
112252392532672
113253393533673
114254394534674
115255395535675
116256396536676
117257397537677
118258398538678
119259399539679
120260400540680
121261401541681
122262402542682
123263403543683
124264404544684
125265405545685
126266406546686
127267407547687
128268408548688
129269409549689
130270410550690
131271411551691
132272412552692
133273413553693
134274414554694
135275415555695
136276416556696
137277417557697
138278418558698
139279419559699
140280420560700


i need radomize, thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Excel Formula:
=randarray(140,5,0,1000,1)

Or do you want the numbers to be unique, but sorted randomly?
 
Upvote 0
maybe something like this:
Book1
ABCDEF
1
297461584536470
32622962367210
4545313623677433
5161303287618405
6143426491659494
738248619533506
8392235563145489
9215391194329261
1094604579171557
1143511381456133
12131477691569611
13668190354621302
1496220497141589
15687378263193577
1633817862945223
17149634175514537
18993340632622
1959886355583466
20689600213500253
21250425542411182
22650683522546
23523301123341106
24449551578311109
25184562454399508
26186686271602478
27669473306465495
2826558239640610
29254698690113117
30343130574187679
314853746395765
3240822949032314
3327011925224227
3449430528599166
35688340672498307
36394170346601251
3724792393136556
3824252990417137
39243105439312258
40587572641257359
4150262285107432
4254116961451144
43637413241111530
44436156385201543
455613768442064
4666529547461911
47293173168326427
4865420051240415
49463694203135202
50513252476189471
51573651447390269
5229222226856826
5369628219110823
5450365585480267
55315124442409362
56452658172167459
5730920521923241
58539322644278331
59455181429522483
6028189228503151
6161363660453397
62642176162376225
63424195460139387
642271146369647
65204635132615395
663715370017414
675966033103279
6828624520935666
6924667593101693
7068120540526335
7137751067128608
721503483445814
73462318953705
74484419652676197
756303828848210
76488588444373234
77134375560231435
7810423949330428
7942499576316517
808742351125400
815531620384174
8242130862866188
83398321212614290
84544164594607559
858360165328356
8665315457167472
8731304674678294
8812912192625501
895863378244656
904633226116566
91450153357401372
92199317538244535
936825449214278
9485330415481685
95160389520627140
967327110367122
9763125655412047
9838656556413297
9964524361516217
10044329148743144
10156752726034649
10230069781249333
103549519595656416
104179218580664521
105272475457445437
10668018347525509
10727583320289216
108163358661670237
109396339515211103
110605248609667550
1117518346933236
112464422255207434
1139880448298507
114112158518118102
115126196617467336
116177558323276345
117403388147606440
11863864836615263
119368380214128548
1205913827366084
121575319230299505
1224412081486115
123643532593364692
124496547353662180
12566341077350280
12618522172266695
1273793057635274
128240570591259325
12946816277155626
13045869912140229
131552406412383114
1329179524363612
13327468407592159
134531597198351479
13561665510046590
13648673324238581
137534279646334438
1382842648820621
13934915734255233
14028365770127504
141418624555369
142
Sheet6
Cell Formulas
RangeFormula
A2:E141A2=WRAPROWS(TAKE(SORT(HSTACK(SEQUENCE(700),TAKE(UNIQUE(RANDARRAY(10000,1,1,100000,1),FALSE,FALSE),700)),2,1),,1),5)
Dynamic array formulas.
 
Upvote 0
Solution
Another option is
Excel Formula:
=WRAPROWS(SORTBY(SEQUENCE(700),RANDARRAY(700)),5)
 
Upvote 0
Another option is
Excel Formula:
=WRAPROWS(SORTBY(SEQUENCE(700),RANDARRAY(700)),5)
Fluff, I guess I over thought. I was thinking the random value to sort by needed to be unique.
 
Upvote 0
Both formulae will return unique values.
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

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