Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to generate random date between two dates quickly in Excel?

When you use an Excel file, sometimes you want to generate random date for some purpose, of course, you can enter the date manually one by one, but if you need to insert multiple dates, this method will be time-consuming and boring. How to quickly generate random date on earth in Excel?

Generate random date between two dates in cells with formula

Generate random date between two dates in cells a with useful feature


Generate random dates between two given dates quickly and easily in Excel

If you want to insert random numbers, dates, times or text strings, Kutools for Excel' Insert Random Data feature can help you to solve these tasks quickly and easily.           Click to download Kutools for Excel!


Generate random date between two dates in cells with formula

In Excel, you can mix the Randbetween and Date function to create random date, please do as follows:

1. Select a cell that you want to insert a random date, and enter this formula:

=RANDBETWEEN(DATE(2019, 1, 1),DATE(2019, 10, 20))

Note: in the function, (2019, 1, 1) is the starting date, and (2019, 10, 20) is the ending date, you can replace them as you need.

2. Then, drag the fill handle down to the cells that you want to fill this formula,  it displays a five-digit number in the cell, see screenshot:

3. And then, you should format the numbers to date format, please select the cell, and right-click, choose Format Cells from the context menu.

4. In the Format Cells dialog box, click Number tab, and select Date from the Category, then select a date format you need from the Type drop-down list. See screenshot:

5. Click OK, the numbers have been converted to the normal dates. And the dates between the given two dates have been generated randomly. See screenshot:

  • Tips: If you want to generate random workdays excluding the weekends, please apply the below formula:
  • =WORKDAY(RANDBETWEEN(DATE(2019, 1, 1),DATE(2019, 10, 1))-1,1)

Generate random date between two dates in cells a with useful feature

It seems that the above method is some troublesome, is there an easier and quicker way to solve this problem? Don’t worry, with Kutools for Excel’s Insert Random Data tool, you can quickly insert the following random date:

Tips:To apply this Insert Random Date feature, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Select a list of cells that you want to insert the random date.

2. Click Kutools > Insert > Insert Random Data, see screenshot:

3. In the popping up Insert Random Data dialog box, click Date tab, then specify the date scope, and choose the date type (workday date, weekend date or unique date) as you need. Then, click OK button, and the dates between the specific two dates have been inserted randomly. See screenshots:

Click to Download Kutools for Excel and free trial Now!


More relative random data articles:

  • Generate Random Character Strings In A Range
  • Sometimes you may need to generate random strings in cells, such as different passwords. This article tries to show you some tricks to generate different random strings in Excel.
  • Generate Random Time In Excel
  • In Excel, in a common situation, most of us may need to insert random numbers, date or text strings as our desired. But sometimes, have you ever tried to insert times randomly in a range of cells? Actually, we can apply some formulas to insert random time into the worksheet.
  • Generate Random Yes Or No In Excel
  • In some special cases, we may want to generate random Yes or No in a range in Excel, here I will tell you some formulas to quickly generate random Yes or No in Excel.

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    lapolisia · 9 months ago
    lapolisia te baneara esta pagina panchito huevonazo
  • To post as a guest, your comment is unpublished.
    TU FRUTA MADRE · 9 months ago
    PANCHITO JOPUTA
  • To post as a guest, your comment is unpublished.
    Juan cortez · 3 years ago
    Random dates
    June 22 2018
    July 3 2018
    October 21 2022
    June 1 2026
    July 3 2045
  • To post as a guest, your comment is unpublished.
    Juan Cortez · 3 years ago
    NFL 2017 season 2 week
    Seattle Seahawks New England Patriots
    San Diego Chargers Washington redskins
    Los Angeles Rams Tampa bay Buccaneers
    Philadelphia Eagles Pittsburgh Steelers