Creating Random Numbers in Excel

Creating Random Numbers in Excel

Table of Contents

Have you ever needed to generate random dates in an Excel spreadsheet? You may not need it often, but when you do, this tip is quite handy. This is the kind of training we cover in our Advanced Excel class, and help you with in your office!

To create random numbers, use this formula:
=RANDBETWEEN(DATE(2003,1,1),DATE(2014,9,30))

The first argument, DATE(2003,1,1), is the low end of the range (earliest), and DATE(2014,9,30) was the high end of the range (most recent).

This creates a random date between 1/1/2003 and 9/30/14. Then, format the number so it appears as a “Date” to turn it into an understandable format.

Last, drag the AutoFill Handle (the little dot in the bottom corner of the cell) down to the bottom of my column to duplicate the formula.

If you want just a random number between two values, you would do the same thing, but replace the DATE(2003,1,1) with the low and high numbers.

Creating Random Numbers in Excel

Udemy Course Learn Excel in 3 Hours Flat

 

Need to learn Excel quickly? Check out Alicia’s online course, Learn Excel in 3 Hours Flat. For only $59 you get lifetime access to the course.

Picture of Alicia Katz Pollock
Alicia Katz Pollock
Recently named one of America's Top 50 Women in Accounting, Alicia is a leading expert in QuickBooks Online training with a Masters in Teaching and decades of business consulting. She offers a range of tailored resources from self-paced courses to personalized coaching. Known for her patience and commitment, Alicia simplifies QuickBooks for clients, helping them achieve their financial management goals with ease.
Picture of Alicia Katz Pollock
Alicia Katz Pollock
Recently named one of America's Top 50 Women in Accounting, Alicia is a leading expert in QuickBooks Online training with a Masters in Teaching and decades of business consulting. She offers a range of tailored resources from self-paced courses to personalized coaching. Known for her patience and commitment, Alicia simplifies QuickBooks for clients, helping them achieve their financial management goals with ease.
Don't forget to share this post.
Related Articles
QuickBooks
Payden Miller
Author’s new book receives a warm literary welcome.

Author’s new book receives a warm literary welcome. Readers’ Favorite announces the review of the Non-Fiction – Business/Finance book “QuickBooks Online Bootcamp” by Alicia Katz Pollock, currently available at https://www.amazon.com/gp/product/0989399265. Readers’ Favorite is one of the largest book review and award contest sites on the internet. They have earned the respect of renowned publishers like Random House, Simon & Schuster,

Read More »
QBO Bootcamp Press Release | Blog Header Image | Royalwise
QuickBooks
Payden Miller
How QBO Bootcamp is Changing the Game for Small Business Owners

If you’ve ever felt overwhelmed by your business finances, you’re not alone. Managing books, keeping up with tax prep, and understanding accounting software can be daunting—especially for small business owners. But a new book by Alicia Katz Pollock, QBO Bootcamp: From Setup to Tax Time, is here to help—and it’s already receiving glowing praise. A 5-Star Guide That Makes Finance Manageable

Read More »
Two Accounting Apps | Blog Post Header Image | Royalwise
QuickBooks
Brandon Mateika
When Two Accounting Apps Listen to Their Customers (And Actually Do Something About It)

Picture this: It’s 2021 at ‘Appy Camp, and Ben Stein from Keeper is standing at a bar, drink ticket in hand, ready to exchange it for a well-deserved cocktail after a long day of conference sessions. But when Alicia Katz Pollock rushes past—bass guitar case slung over her shoulder, racing to join the evening’s music circle around the fire—and tosses him

Read More »