Skip to content

emka.web.id

menulis pengetahuan – merekam peradaban

Menu
  • Home
  • Tutorial
  • Search
Menu

Tutorial Windows: Why Create and How to Use Random Numbers in Windows

Posted on June 22, 2015

It’s said that nothing ever happens for a reason, and yet, we rely on randomness of some facts for entertainment and even security. Computers can provide random sequence of characters through a complex algorithm, based on a seed.

Picking something at random involves making an unconscious decision from a pool of choices. Computers can’t really choose, since they only process human commands, but use advanced mathematical algorithms based on a variable seed, which can be time in milliseconds, that result in a different output almost, if not each time.

Randomness is encountered in many domains of activity. Some games completely rely on it, accounts might be distributed with random set of passwords, while most paid applications ask for a CD key, which is created with random characters, and more.

Generating a random number

In Microsoft Excel:

Step 1: Install Office if you haven’t already, and run Excel.

Step 2: Click on an empty cell, for instance A1.

Step 3: Use either the RAND or RANDBETWEEN formulas, as shown below:

FORMULA NUMBER RANGE
=RAND() 0.3213 0 to 1
=RAND()*10 3.123 0 to 10
=RAND()*(10-1)+1 7.234 1 to 10
=RAND()*100 54.2342 0 to 100
=RAND()*(100-1)+2 32.5432 1 to 100
=TRUNC(RAND()*(100-1)+2) 75 integers 1 to 100
=RANDBETWEEN(0-10) 3 integers 0 to 10
=RANDBETWEEN(50-9999) 432 integers 50 to 9999

Note: Each time you finish editing a cell, a new random number is generated where the formula is written.

Hint: You can drag the bottom right corner of the cell across a large area to create a pattern of randomly-generated numbers that refresh every now and then.

Using third-party applications:

Step 1: Download and run Random Number Generator.

Step 2: Set minimum and maximum values for the generated interval. You can even use negative numbers.

Step 3 (optional): Specify number of digits to show and how many to generate.

Step 4: Press Generate Integers or Decimal Numbers. Results are enlisted in the right pane, with options to copy last one, all of them, or save the list to file.

Generating a CD Key

Using Microsoft Excel:

It’s not exactly a feature of Excel, but one of the many formula combinations you can use to your advantage. With this simple trick and the help of formulas above, you can create security keys of custom length and delimiters.

Step 1: Open up Microsoft Excel.

Step 2: Select an empty cell and fill it with this value:

code
 
=RANDBETWEEN(100,999)& " - " &RANDBETWEEN(100,999)

This creates a key with the length of two elements separated by a hyphen-minus, each containing three characters. (i.e: 321-453).

You can create as many elements as you want and can contain a custom number of characters. Here’s how combinations work:

-> (100,999) -> this is the pool of numbers to pick from. Left and right values determine lower and upper limits. The actual number of characters in each value determines the length of a key element. (100,999) – three elements, (1000,9999) – four elements.

-> =RANDBETWEEN(100,999)& -> this is always the start of the formula.

-> ” – ” &RANDBETWEEN(100,999)& ” – ” -> this always goes in the middle. The more of these you add, the more elements, but don’t forget about the first and last.

-> &RANDBETWEEN(100,999) -> this what you end your formula with.

-> “ – “ -> this is the delimiter used for elements. It contains two empty spaces and a hyphen in the middle. You can replace the hyphen with any other character to use as delimiter.

Note: Values change after each cell action, so you need to be careful how and where you save keys of interest.

Hint: Dragging the formula cell over more cells in that column creates multiple, different keys. Once you release the mouse button, press Ctrl + C to have all currently generated values saved.

Using third-party applications:

Step 1: Download and run Portable Abluescarab Software CD-Key Generator.

Step 2: Go to File and access Options.

Step 3: Choose to Save Generated Keys to Text File, and Enable Mass Generation.

Step 4 (optional): Set amount of sections and characters from the given drop-down menus.

Step 5: Press OK and hit Generate in the main window. A TXT file is created in the application directory.

Note: The advantage over Excel is that both numerical and alphabetical characters are used to generate keys, whereas the method above only uses numbers.

Terbaru

  • Apa itu Apple Creator Studio?
  • Inilah Alasan Kenapa Tidak Bisa Melihat Status WA Padahal Tidak Diprivasi dan Trik Mengatasinya!
  • Lupa Email Akun Higgs Domino? Ini Cara Mengatasinya
  • Apa itu WhatsApp Aero? Aman atau Tidak + Cara Downloadnya
  • Inilah Kenapa Paket JNE Muncul Status Nobody At Home dan Cara Mengatasinya Biar Nggak Panik!
  • Gagal Aktivasi BSI Mobile? Inilah Arti Pesan Error 53 Saving Account Not Registered dan Solusinya
  • Cara Cuan dari Hobi Baca Novel/Komik Online
  • Hp Vivo Kalian Muncul Notif Data Spasial Sistem Rusak? Begini Trik Mengatasinya Sampai Tuntas!
  • Cara Buat Link Ujian Mencintai Diam-Diam Google Form, Tes Seberapa Besar Perasaan Kalian ke Crush!
  • Ini Penjelasan Mengenai Cara Mengubah Dosa Menjadi Diamond Game FF ML dan Saldo Shopeepay yang Sedang Viral
  • Trik Supaya Bisa Dapat Potongan Harga Rp100 di TikTok Tanpa Harus Reset HP!
  • Cara Input Bantuan IFP dan Laptop di Dapodik 2026.B, Aset Sekolah Aman
  • Cara Cairkan Rp170.000 dari Clear Blast, Terbukti Membayar ke DANA Tanpa Ribet!
  • Inilah Fakta Video Viral Arohi Mim 3 Menit 24 Detik yang Bikin Geger Netizen!
  • Inilah Sebenarnya Video Botol Aqua Viral yang Bikin Netizen TikTok Heboh dan Penasaran!
  • Takut Chat Hilang? Ini Cara Mudah Backup WA GB ke Google Drive yang Wajib Kalian Tahu!
  • Tutorial Ambil Barang Gratis di Akulaku, Modal Undang Teman Doang!
  • Ini Arti Kode Error FP26EV dan FP27EV di Aplikasi BriMO Serta Cara Mengatasinya!
  • Cara Jadi Clipper Modal Ngedit Video di TryBuzzer, Cocok Banget Buat Pemula!
  • Cara Pakai Beb6 Wifi Password Untuk Cek Jaringan di Sekitar Kalian
  • Inilah Review Lengkap Apakah Turbo VPN Extension Aman
  • Apa itu Toko Biru? Ini Istilah Olshop yang Perlu Kamu Tahu
  • Adswerve Inc Penipu? Ini Fakta di Balik Konsultan Digital Terkemuka Dunia!
  • Sering Ditelepon 08111? Simak Apakah Ini Penipuan atau Marketing Resmi Telkomsel
  • Inilah Cara Daftar dan Login Subsidi Tepat LPG 3 kg di Merchant Apps MyPertamina!
  • Akademi Crypto Penipu?
  • Belum Tahu Arti Paket Sedang Transit di TikTok Shop? Ternyata Ini Maksudnya Biar Kalian Nggak Panik!
  • Akun Paylater Tiba-tiba Diblokir? Jangan Panik, Gini Cara Mengatasinya Biar Lancar Jaya!
  • HP Vivo Sering Mati Sendiri Padahal Baterai Masih Banyak? Ini Penyebab dan Solusinya!
  • Inilah Cara Mengatasi BNI Mobile Banking Transaksi Tidak Dapat Dilanjutkan dan Penjelasan Kode Errornya!
  • Apa itu Zoom Stealer? Ini Definisi dan Bahaya Tersembunyi di Balik Ekstensi Browser Kalian
  • Apa itu Skandal BlackCat Ransomware?
  • Grain DataLoader Python Library Explained for Beginners
  • Controlling Ansible with AI: The New MCP Server Explained for Beginners
  • Is Your Headset Safe? The Scary Truth Bluetooth Vulnerability WhisperPair
  • Perbedaan GPU vs TPU, Mana yang Terbaik
  • Tutorial Langfuse: Pantau & Optimasi Aplikasi LLM
  • Begini Teknik KV Caching dan Hemat Memori GPU saat Menjalankan LLM
  • Apa itu State Space Models (SSM) dalam AI?
  • Begini Cara Mencegah Output Agen AI Melenceng Menggunakan Task Guardrails di CrewAI
  • Apa itu Zoom Stealer? Ini Definisi dan Bahaya Tersembunyi di Balik Ekstensi Browser Kalian
  • Apa itu Skandal BlackCat Ransomware?
  • Apa itu ToneShell? Backdoor atau Malware Biasa?
  • Apa itu Parrot OS 7? Ini Review dan Update Terbesarnya
  • Clipper Malware? Ini Pengertian dan Bahaya yang Mengintai Kalian
Beli Pemotong Rumput dengan Baterai IRONHOOF 588V Mesin Potong Rumput 88V disini https://s.shopee.co.id/70DBGTHtuJ
Beli Morning Star Kursi Gaming/Kantor disini: https://s.shopee.co.id/805iTUOPRV

©2026 emka.web.id | Design: Newspaperly WordPress Theme