• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Excel Randomization Help

PVTCaboose1337

Graphical Hacker
Joined
Feb 1, 2006
Messages
9,501 (1.43/day)
Location
Texas
System Name Whim
Processor Intel Core i5 2500k @ 4.4ghz
Motherboard Asus P8Z77-V LX
Cooling Cooler Master Hyper 212+
Memory 2 x 4GB G.Skill Ripjaws @ 1600mhz
Video Card(s) Gigabyte GTX 670 2gb
Storage Samsung 840 Pro 256gb, WD 2TB Black
Display(s) Shimian QH270 (1440p), Asus VE228 (1080p)
Case Cooler Master 430 Elite
Audio Device(s) Onboard > PA2V2 Amp > Senn 595's
Power Supply Corsair 750w
Software Windows 8.1 (Tweaked)
Ok, lets say I have 20 items in a row. Is there any way to get Excel to randomly choose one of those items?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,049 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
fill a column with random numbers, sort by that and pick the first one
 

alexp999

Staff
Joined
Jul 28, 2007
Messages
8,012 (1.31/day)
Location
Dorset, UK
System Name Gaming Rig | Uni Laptop
Processor Intel Q6600 G0 (2007) @ 3.6Ghz @ 1.45625v (LLC) / 4 GHz Bench @ 1.63v | AMD Turion 64 X2 TL-62 2 GHz
Motherboard ASUS P5Q Deluxe (Intel P45) | HP 6715b
Cooling Xigmatek Dark Knight w/AC MX2 ~ Case Fans: 2 x 180mm + 1 x 120mm Silverstone Fans
Memory 4GB OCZ Platinum PC2-8000 @ 1000Mhz 5-5-5-15 2.1v | 2 x 1GB DDR2 667 MHz
Video Card(s) XFX GTX 285 1GB, Modded FTW BIOS @ 725/1512/1350 w/Accelero Xtreme GTX 280 + Scythe sinks| ATI X1250
Storage 2x WD6400AAKS 1 TB Raid 0, 140GB Raid 1 & 80GB Maxtor Basics External HDD (storage) | 160GB 2.5"
Display(s) Samsung SyncMaster SM2433BW @ 1920 x 1200 via DVI-D | 15.4" WSXGA+ (1680 x 1050 resolution)
Case Silverstone Fortress FT01B-W ~ Logitech G15 R1 / Microsoft Laser Mouse 6000
Audio Device(s) Soundmax AD2000BX Onboard Sound, via Logitech X-230 2.1 | ADI SoundMAX HD Audio
Power Supply Corsair TX650W | HP 90W
Software Windows 7 Ultimate Build 7100 x64 | Windows 7 Ultimate Build 7100 x64
Benchmark Scores 3DM06: 19519, Vantage: P16170 ~ Win7: -CPU 7.5 -MEM 7.5 -AERO 7.9 -GFX 6.0 -HDD 6.0

PVTCaboose1337

Graphical Hacker
Joined
Feb 1, 2006
Messages
9,501 (1.43/day)
Location
Texas
System Name Whim
Processor Intel Core i5 2500k @ 4.4ghz
Motherboard Asus P8Z77-V LX
Cooling Cooler Master Hyper 212+
Memory 2 x 4GB G.Skill Ripjaws @ 1600mhz
Video Card(s) Gigabyte GTX 670 2gb
Storage Samsung 840 Pro 256gb, WD 2TB Black
Display(s) Shimian QH270 (1440p), Asus VE228 (1080p)
Case Cooler Master 430 Elite
Audio Device(s) Onboard > PA2V2 Amp > Senn 595's
Power Supply Corsair 750w
Software Windows 8.1 (Tweaked)
Very nice, got it to work great! I forgot about the rand function.
 
Top