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 Online Training Blog | Header Image | Royalwise
QuickBooks
Alicia Katz Pollock
The QuickBooks Online Training Revolution Has Begun

(Watch the video above to hear the full story straight about QuickBooks Online Training from Alicia Katz Pollock.) The accounting industry is undergoing a seismic shift. What used to be a solo bookkeeper’s job is now handled by entire departments inside CAS practices and tax firms. The pressure is on for staff at all levels to really know what they’re doing in

Read More »
QuickBooks Online Reports
QuickBooks
Alicia Katz Pollock
Unlocking the Power of QuickBooks Online Reports

Unlocking the Power of QuickBooks Online Reports: A Deep Dive for Bookkeepers and Business Owners Let’s face it, we all love those satisfying “cha-chings” as payments hit our bank accounts. But as bookkeepers and business owners, we know that the true story of our financial health lies deeper, within the reports nestled inside QuickBooks Online (QBO). It’s easy to get

Read More »
Year-end Cleanup in QuickBooks Online
QuickBooks
Payden Miller
Year-End Cleanup in QuickBooks Online: Your Guide to a Sparkling Clean Start!

Hey everyone, Alicia Katz Pollock here! As we gear up for tax season, I want to talk about one of my favorite topics: Year-end Cleanup in QuickBooks Online. Yes, I know, “cleanup” doesn’t usually spark joy, but trust me, a little QBO spring cleaning can make a world of difference for your peace of mind and, most importantly, for accurate

Read More »