Note: The other languages of the website are Google-translated. Back to English
English English

Excel Formula: Create Dynamic Date List

doc convert date to julia 1

Supposing in Excel, you want to create a dynamic date list based on a given start date, what formula can you use?

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Generic formula:

Start_date+ROWS(date_list)-1-[offset]

Syntaxt and Arguments

Start_date: the date that the dynamic date list starts from.
Date_list: the cell that you want to place the first date of the date list.
Offset: Optional, if you want to create a dynamic date list based on the start date, this can be omitted, if you want to create a dynamic date from the days before the start date, this is the number of days before the start date.

Return Value

The formula returns a value in date format.

How this formula works

The start date is in cell C2, the offset value is in cell C3, the cell E3 is the cell that you want to start the dynamic date list. Please use below formula:

=$C$2+ROWS($E$3:E3)-1-$C$3

Press Enter key to get the first date, then drag auto fill handle down to the cells to apply this formula.
doc convert date to julia 1

doc convert date to julia 1

Explanation

ROWS function: returns the number of rows in a reference or an array.

=$C$2+ROWS($E$3:E3)-1-$C$3
=$C$2+1-1-4
=$C$2-4
=12/2/2020

Remark

1) If you want to create a dynamic date list starting from today, please use the formula as this:

TODAY()+ROWS(date_list)-1

2) If you want to get the weekday and month name from the date list, please use the TEXT function as these:

=TEXT(E3,"dddd")

=TEXT(E3,"mmmm")
doc convert date to julia 1
doc convert date to julia 1


Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations