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
Chart of Accounts
QuickBooks
Alicia Katz Pollock
Chart of Accounts in QuickBooks Online | Unraveling the Mysteries

Hey everyone, let’s talk about something that’s often overlooked but absolutely crucial for a healthy financial life – your Chart of Accounts in QuickBooks Online (QBO). Whether you’re a seasoned bookkeeper, a small business owner wearing multiple hats, or just starting your entrepreneurial journey, understanding your Chart of Accounts (COA) is like having a clear roadmap to your business’ organizational

Read More »
Products, Services, & Inventory in QBO | Taming the Beast
QuickBooks
Alicia Katz Pollock
Products, Services, & Inventory in QBO | Taming the Beast

Let’s be honest, managing products, services, and inventory can feel like wrestling an octopus. You’ve got tentacles everywhere – invoices, bills, purchase orders, reports – and it’s easy to feel overwhelmed, especially if you’re a small business owner or bookkeeper juggling multiple tasks. But QuickBooks Online (QBO) can be a powerful ally in this fight, and understanding how to utilize

Read More »
Alicia Katz Pollock
News
Payden Miller
Notable Appearances

Notable Appearances by Alicia Katz Pollock As Royalwise continues to grow and touch more lives than ever, demand for Alicia Katz Pollock has grown as well. She has made a slew of notable appearances recently, and rather than create a separate blog post for each event, we’ve decided to create a running list of important showings by the QuickBooks Online

Read More »