Random Generator for Excel

Generate random numbers, passwords, dates, and more

Random Generator for Excel will fill your cells with random integers, real numbers, dates, Booleans, and strings. With this tool, you can easily generate random numbers without duplicates, get a list of secure passwords, and randomize values from your custom list. Just choose a range, select the desired option and click Generate.

Buy Now
May offer
Free download:
365 2021 2019 2016 2013
Download this and 70+ other tools for Excel included in Ablebits Ultimate Suite

14-day fully functional version

With Random Generator you will

  • Generate random integers Get your range filled with random integers within the specified range, with or without duplicates.
  • Fill a range with real numbers Generate random real numbers in the selected range. Get unique or duplicated values.
  • Generate random dates and Booleans Get a list of random dates that includes only workdays, weekends, or both. Fill your range with Boolean values: true/false or yes/no.
  • Create secure passwords Generate strings of a specific length with your preferences for character sets: letters, numbers, special symbols, etc.
  • Create random strings by mask Use this option to create codes of any type: coupons, RGB colors, product IDs, zip codes, SKUs, etc.
  • Create custom lists The values from your list will be randomly inserted into the selected cells. Optionally, you can insert only unique values.

How to generate random numbers in Excel

Fill your range  with random integers without duplicates
Fill your range with random integers without duplicates
Create unique random numbers, indicate the range
Create unique random numbers, indicate the range
Fill your range with weekends, workdays, or both
Fill your range with weekends, workdays, or both
Create random Booleans
Create random Booleans
Get the values from your custom list randomly inserted into the selected cells
Get the values from your custom list randomly inserted into the selected cells
Generate random unique passwords
Generate random unique passwords
Create strings by mask to get the neded type of a random code
Create strings by mask to get the neded type of a random code

Over 150,000 happy users!

Only true Ablebits reviews from our customers

Over 150,000 happy users!

I can't tell you how happy I am with Ablebits

I can't tell you how happy I am with Ablebits and the time it has saved me over the years. I started using Ablebits with my previous employer, probably 15 years ago and I constantly recommend your products to coworkers. You truly have top-notch customer service. Keep up the great work!

Jeff Meyer

Love the products!

Love the products! They have saved me thousands of hours and they are responsible for me getting a promotion at my last job, which helped me land my current position as a manager.

David Johnston

It's the best $100 we've ever spent!

I talked my supervisor into getting Ultimate Suite. I often deal with huge tables and matching between versions has always been a nightmare. He asked me about the new tools and I said: "It's the best $100 we've ever spent!" Indeed has saved me hours of work time. So, one big "Thanks!"

Mike Cavanagh

Incredible product, even better tech support…AbleBits totally delivers!

I use AbleBits every day and keep finding new uses. Changing jobs, I get my new employer to cough up the very reasonable cost of this software. There're things I just can't complete any other way in large datasets. My coworkers think I'm a wizard. But I'm just a religious user of AbleBits.

Deborah Bryant

Anyone who works with Excel is sure to find their work made easier by Ablebits

I've been using Ultimate Suite for almost a year and found it invaluable for my projects. I like the ability to merge tables based on 1 or more attributes, transpose columns and rows, and to transform data with Cell Cleaner utility. Plus, Ablebits' support is reliably fast and courteous.

Jackie Lee

Excel is at its best now

Ever since I found your add-ons, it has been a life saver or should I say a major time saver. I have bought two packages for both work computers. Excel is at its best now because of you. Thank you!

Annie C.

KUDOS to you guys for solving a problem that our IT department doesn't understand

Our IT thought they know how the sales department should function and destroyed some data files. With AbleBits I was able to regenerate my database in a few clicks. This was AWESOME. KUDOS to you guys for solving a problem that even our IT department doesn't understand.

Erik Peterson

AbleBits suite has really helped me when I was in a crunch!

Having AbleBits suite really helped me when I was in a crunch! It was intuitive and saved time on my job! Now I'm finding other capabilities I wasn't aware of, (first needed the easy merge capability). The other features are valuable time savers as well. Thanks for the product!

Nelda Fink

Ablebits is a fantastic product - easy to use and so efficient.

Ablebits is a fantastic product that I also brag about, because it is easy to use and so efficient.

Debra Celmer

I have enjoyed every bit of it and time am using it

I got this add-in and it is doing a great job for me. I have enjoyed every bit of it and time am using it. Great one from AbleBits… I recommend this for any data management and excel users.

Christian Onyekachi Nwosu

I love the program, and I can't imagine using Excel without it!

Thank you for your commitment to Ultimate Suite. I love the program, and can't imagine using Excel without it! The program paid for itself the first day I used it. Your team has created a really great set of tools for use within Excel. Thank you, thank you, thank you!

Robert Madsen

One word… WOW!

One word… WOW! I recently bought the package of add-ins for Excel. I've used it ONCE and it has paid for itself. It literally saved me HOURS of work. KUDOS!

Dave Brown

I don't know how to thank you enough for your Excel add-ins

I don't know how to thank you enough. I stumbled upon your site figuring out how to merge 2 tables. When I saw a free trial, I thought how well is this going to work? I downloaded it and am AMAZED. I don't know how I lived without it. THANK YOU for making my life easier.

Jennifer Morningstar

Anybody who experiences it, is bound to love it!

Anybody who experiences it, is bound to love it! There're only 2 ways to "exploit" Excel's potential: be a geek or embrace Ultimate Suite. Why waste time on routines that can happen with a click of a mouse? Make use of Excel's capabilities without wasting time and energy.

Kumar Nepa

I love your product

I love your product. It really saves me a lot of time and makes my job much easier.

Brad Gibson

The best spent money on software I've ever spent!

I just have to tell you that I love your AbleBits Collection. I can't tell you how much time it has saved me, particularly Merge Tables Wizard, Duplicate Removers, Merge Cells Wizard, and Split Names. This was the best spent money on software I've ever spent!

Patrick Raugh


Awesome!!! I love the tools and have been using the compare one everyday since I downloaded it.

Sheila Blanchard


I'm happy there is a company (Ablebits) where support really can solve customer's problem! Great job!


It is like having an expert at my shoulder helping me…

I feel that Ablebits has people like me in mind with software development. It's like having an expert at my shoulder helping me work more efficiently. Now I have more time to goof off at work. Uh, that last statement isn't true - I just have a lot less stress as things go so much smoother.

Linda Shakespeare

Your software really helps make my job easier

Your software really helps make my job easier. I don't know what I would do without Duplicate Remover, I use it several times a day for every project I work on. Thanks for making my life easier.

Jeannie C.

Frequently asked questions

What is Random Generator and what do I need it for?

With the Random Generator for Excel tool you can easily fill a range of cells with any random data. In just a few clicks you will:

  • Generate unique random numbers, integers, dates, Booleans, reals.
  • Create random passwords of a given length with different charsets (e.g. A - Z, 0 - 9) or special symbols.
  • Fill the selected range with any random values from your custom list.

How to generate random numbers in Excel without duplicates?

With Random Generator you can get random integers or real numbers with or without duplicates.

Run the add-in, select your range of cells, choose the needed option, and specify the minimum and maximum values. If you need random numbers with no repeats, check the Unique values checkbox. Click Generate and get your random values created.

Please find a more detailed description here.

Can I use the add-in as a password generator?

Sure! Select Excel cells, where you want to see your random passwords. Open the add-in pane and choose characters required for your password. It can be A - Z, a - z, 0 - 9, space, etc. You can also enter any other characters into the Custom field. Set the string length which may be up to 99 characters.

Find more information here.

How to generate random dates in Excel?

The Random Generator tool has a special option for dates. You can specify a range for dates and choose workdays, weekends, or both. If you need the created range of values to have no duplicates, tick off Unique values.

Does the utility work as a code generator?

Yes, Random Generator for Excel creates random strings by mask.For example, if you need to generate phone numbers, you check the digits set and use this mask +1-???-???-????. Click Generate and you will have the fake telephone numbers all across the selected range. Of course, apart from phone numbers, you can use this option for producing any other code types, for example coupons, RGB colors, product IDs, zip codes, SKUs, etc.

Find step-by-step instructions here.

Can I fill the range with random values from the custom list?

Of course. There is an option in the add-in called Custom list, which randomly fills the range with values from standard Microsoft Excel custom lists or from your own list.For example, you have 50 names and need to pick random 10. Just add all 50 names to your custom list, select 10 blank cells in Excel, click Generate and get 10 random names picked from your Excel list.

Besides, the utility allows to create a custom list from your random data. Suppose you have a list of names in a worksheet. You select this list and click New list. That's it! Just one click and you have a new list added to the Random Generator. Now you have it among your Excel custom lists.

Find more information here.

What is the algorithm used in the Random Generator utility?

Our Random generator add-in uses the reliable Mersenne Twister algorithm. We use version MT19937 that produces a normally distributed sequence of 32-bit integers and has the following advantages:

  • It generates a better pseudo-random number sequence than the RAND() formula in Excel and the rnd() function in VBA.
  • It has a big period of a nonrecurring random number sequence:
  • It has gone through numerous tests on statistical randomness, including the NIST Statistical Test Suite and Diehard tests. It passed most of, though not all, TestU01 Crush randomness tests, which are even tougher.

Choose your Ultimate Suite edition

Random Generator + 70 other time-saving tools in one powerful suite

  Personal Business Business, 5 seats
One-time purchase

You pay only once and can use the purchased version as long as you need.

Unconditional 60-day money back guarantee

If you are not 100% happy with the product, you can cancel an order and get your money back with no questions asked.

Volume discounts
  • 2 – 10 licenses: 10%
  • 11 – 25: 15%
  • 26 – 50: 25%
  • Over 50: please contact us for details
Support for Excel 2019 – 2010

All Excel versions 2019–2010 are supported, both 32- and 64-bit. Also, all desktop Excel versions included in Office 365 subscriptions.

Free upgrades for 2 years

During 2 years after the purchase you get all minor updates and major upgrades for free.

License for Single user Single user 5 users
Technical support service

Our support team is always happy to help you via email, live chat, or phone no matter how long ago you purchased your license.

Corporate deployment (GPO, SCCM)

Your system administrator can quickly and easily deploy Ultimate Suite for a group of users without even disturbing them.

Features and hotfixes on request

We’ll do everything in our power to create additional features you need and fix the found bugs as soon as possible.

May Offer
Enjoy Ultimate Suite
with up to 30% discount
Offer ends May, 21st
Buy now
Buy now
Buy now

Supported versions

Microsoft Excel

  • Excel included in ​Microsoft 365 (formerly Office 365)
  • Excel 2021
  • Excel 2020
  • Excel 2019
  • Excel 2016
  • Excel 2013
  • Excel 2010
  • 32-bit and 64-bit
  • Note! Office Insider is not supported


  • Windows 11
  • Windows 10
  • Windows 8.1
  • Windows 8
  • Windows 7
  • 32-bit and 64-bit
  • Note! Windows Insider is not supported
  • Note! Windows X (on ARM processors) is not supported

Any questions or comments?

Please contact us here

Our working hours:
12:00 am - 10:00 am PST; 3:00 am - 1:00 pm EST; 8:00 am - 6:00 pm CET.

Your message was successfully sent.

Thank you for contacting us!
We will get back to you shortly.

You will receive a delivery confirmation for your message within a few minutes. If you don't get it, please re-send your message and make sure you entered a valid e-mail address.

Ukraine flag War in Ukraine. Here's what Ablebits is doing to make sure our team and projects are safe.