Excel How to Add Continuing Dates Automatically

No matter how many or few dates you need, the whole day/month/year thing can be annoying to do even if it is just a few times. Today we learn about auto-filling dates in Excel. Why would anyone need so many dates? It could be for a calculation on daily wages, it could be for a dated column in payroll, it could be an attendance sheet, daily sales entry, you get the idea. If you're thinking that most of these examples can't rely on a date sequence since weekends would need to be deducted, you're right and we're prepared. That's where the weekday sequence comes in.

By the end of this tutorial, you will learn how to autofill dates using the in-front-of-your-eyes Fill Handle, Series settings, and the SEQUENCE function. We will also fill you in on auto-filling weekdays, months, and years. If the daily fill isn't what you're looking for, we will also show you how to auto-fill alternate days, every 2 days, 3 days, etc.

Yes, this guide is about auto-fill but you need to give auto-filling some direction; the first date needs to be entered manually and we have a few things we need to say about that so let's take a nosedive and begin.

How-to-Autofill-Dates-In-Excel

Entering the First Date

The first date for the sequence will have to be entered manually. Here are some tips on getting it right:

If you enter the date month-first with hyphens or forward slashes, Excel will recognize the entry as a date and change the format of the cell from General to Date. You know the entry has been recognized as a date when it self-aligns to the right of the cell.

Entering the First Date

If the entry is not recognized as a date, you can press Ctrl + 1 to access the Format Cells dialog box. From here, you can format the cell into the Date format and also choose the specific format from the options (such as 15-Dec-21 or 15/12/21).

Changing the date format

Autofill Sequential Dates in Excel Using the Fill Handle

Sequential dates can be auto-filled using the Fill Handle. It's super easy as you can quickly fill a range of cells with a date sequence, a convenience you probably have used many times before with or without realizing. But before jumping to the steps let's get ourselves accustomed with the Fill Handle.

What is Fill Handle?

The Fill Handle is a tiny square at the bottom right corner of the active cell(s).

Excel Fill Handle

When hovered over the Fill Handle, the cursor will change to a black cross sign. That is the cue to click and drag the Fill Handle down to the cells you want to fill.

As you drag, a callout bubble on the side of your selection will keep notifying you of the content of the last auto-filled cell.

Dragging the fill handle

You can use this callout bubble to get an idea of which cell you want to drag up to.

Alright, with the basics out of our way, let's see the steps:

  • Enter the first date manually. For tips, refer to the segment on Entering the First Date
  • Select the cell with the date.
  • Click and drag the Fill Handle. We want the dates up to 31st December. We can use the callout bubble notification on the side of our selection to see which cell we need to drag to.

Auto Filling Dates In Excel via Fill Handle

  • Clicked and dragged, the dates will be auto-filled according to the format of the first date:

Auto Filling Dates In Excel via Fill Handle

Autofill Dates With the Series Dialog

A sequence of dates can be auto-filled using the settings from the Series dialog. For a quick autofill, the Fill Handle option above is the best pick but for some tinkering with the settings, the Series dialog offers a handful of options and can be used to autofill dates, months, years, and weekdays as you will find later. Below are the steps to autofill dates using the Series dialog:

  • Manually enter the first date. For tips, refer to the segment on Entering the First Date
  • Select the cell. Right-click and drag the Fill Handle.

Autofill Dates With the Series Dialog

  • When you release the right-click mouse button, you will see a context menu.
  • Select the last action Series… to open the Series dialog box.

Autofill Dates With the Series Dialog

  • The Series dialog box can also be accessed by the Fill button in the Home tab in the Editing group. Select the range of cells to fill, go to the Fill button and select the Series… option.

Autofill Dates With the Series Dialog

  • In the Series dialog box, the settings below will be detected from your selection. Make any adjustments if required then click OK.

Autofill Dates With the Series Dialog

  • And that will enter a sequence of dates for you.

Autofill Dates With the Series Dialog

In the Series dialog box, you may have noted various options and that should help you with entering other series. E.g. if you need a date sequence of alternate days, you could set the Steps as 2 instead of 1 in the Series dialog box.

Autofill Dates With the Series Dialog

Here are the results:

Autofill Dates With the Series Dialog

Now that was dates; in the Series dialog, there are more options that will autofill months, years, and weekdays too which is what our following segments are about.

Autofill Months in Excel Using the Fill Handle/Series Dialog

Like days, you can autofill months in Excel. For month names alone, the Fill Handle will be the quickest. For full dates with a month sequence, we will show you how to autofill using both the Fill Handle and the Series dialog.

Autofill Month Names Using the Fill Handle

  • Enter the first month's name manually.

Autofill Months in Excel Using the Fill Handle

  • Select the cell with the month name. Click and drag. As you drag, a callout bubble on the side of your selection will keep notifying you of the content of the last auto-filled cell. Use this callout bubble to determine your destination cell. E.g. we will drag down until we see December.

Autofill Months in Excel Using the Fill Handle

  • Clicked and dragged, the months will be auto-filled to the dragged cells:

Autofill Months in Excel Using the Fill Handle

Autofill Month Sequence Using the Fill Handle

These are the steps to autofill the months in full date format using the Fill Handle. It's like auto-filling dates but the sequence will be of the months, keeping the date constant. Here's how to do it:

  • Enter the starting date. For tips, refer to the segment on Entering the First Date

Autofill Months in Excel Using the Fill Handle

  • Select the cell with the date. Click and drag the Fill Handle down to the cells you want to fill. The dates will be auto-filled based on the format of the first date:

Autofill Months in Excel Using the Fill Handle

  • As you can see, this is a sequential date fill, which is not what we wanted. So, click on the Auto Fill Options icon highlighted above at the bottom-right of your selection. From the list, select the Fill Months option.

Autofill Months in Excel Using the Fill Handle

  • And now you can see that the date 15 has remained constant while the months have changed in sequence:

Autofill Months in Excel Using the Fill Handle

Autofill Month Sequence Using the Series Dialog

Now we look into auto-filling the months in full date format using the Series dialog which is just like auto-filling dates but the sequence will be of the months, keeping the date constant. Here's how to do it:

  • Enter the first date manually. For tips, refer to the segment on Entering the First Date

Autofill Month Sequence Using the Series Dialog

  • Select the cell with the date. Right-click and drag the Fill Handle down to the cells you want to fill. When you release the right-click mouse button, a context menu will appear.
  • Select the last option Series… to access the Series dialog box.

Autofill Month Sequence Using the Series Dialog

  • In the dialog box, select the Month radio button. Then click OK.

Autofill Month Sequence Using the Series Dialog

  • Following the steps above, the date 15 has remained constant while the months have changed in sequence:

Autofill Month Sequence Using the Series Dialog

Autofill Years in Excel Using the Fill Handle/Series Dialog

Like days, you can autofill years in Excel. For years on their own, the Fill Handle makes for the easiest way. For full dates with a year series, we will show you how to autofill using both the Fill Handle and the Series settings.

Autofill Year Using the Fill Handle

  • Enter the first 2 years.

Autofill Year Using the Fill Handle

  • With both cells selected, click and drag the Fill Handle down to the cells you want to fill. While dragging you can take help of the callout bubble to determine the destination of the fill.

Autofill Year Using the Fill Handle

  • That should autofill the years:

Autofill Year Using the Fill Handle

Autofill Year Sequence Using the Fill Handle

Now we will autofill the years in full date format with the Fill Handle. Auto-filling years keeps the date and month constant with a year's series. Find out how, below:

  • Enter the starting date manually. For tips, refer to the segment on Entering the First Date

Autofill Months in Excel Using the Fill Handle

  • With the cell selected, click and drag the Fill Handle to the number of dates you want. Following the format of the starting date, the dates autofill like this:

Autofill Year Sequence Using the Fill Handle

Note that these are auto-filled dates, which is not what we're looking for right now. To change this into a year sequence, click on the Auto Fill Options icon highlighted above at the bottom-right of the selection and select the Fill Years action.

Autofill Year Sequence Using the Fill Handle

Now the date and month (15/1) have remained constant while the years are in sequence:

Autofill Year Sequence Using the Fill Handle

Autofill Year Sequence Using the Series Dialog

Using the Series dialog, here are the steps to autofill the years in full date format with the years in sequence and the date and month constant. Follow below:

  • Enter the first date. For tips, refer to the segment on Entering the First Date

Autofill Months in Excel Using the Fill Handle

  • Select the cell with the date. Right-click and drag the Fill Handle down to the cells you want to fill. Upon releasing the right-click mouse button, there will be a context menu.
  • Select Series…from the list.

Autofill Year Sequence Using the Series Dialog

  • In the launched Series dialog box, select the Year radio button.
  • Then click OK.

Autofill Year Sequence Using the Series Dialog

With the date and month 15/1 constant, there we have a series in years:

Autofill Year Sequence Using the Series Dialog

Recommended Reading: How to Sort by Date in Excel

Autofill Weekdays in Excel Using the Fill Handle/Series Dialog

Like dates, weekdays can be auto-filled in Excel. For weekday names, the Fill Handle provides a quick solution. For weekday dates in sequence, we will show you how to use both the Fill Handle and the Series dialog to autofill the dates.

Autofill Weekdays Using the Fill Handle

  • Enter the first weekday.

Autofill Weekdays Using the Fill Handle

  • Select cells, right-click and drag the Fill Handle down to the cells you want to fill. While dragging, the callout bubble on the side of the selection can help with the autofill.

Autofill Weekdays Using the Fill Handle

  • The weekdays get auto-filled in this way:

Autofill Weekdays Using the Fill Handle

If you only need weekdays (without the weekends), just click on the Auto Fill Options icon highlighted above at the bottom-right of your selection. From the list, select the Fill Weekdays

Autofill Weekdays Using the Fill Handle

Now you have just the weekdays in sequence:

Autofill Weekdays Using the Fill Handle

Autofill Weekday Sequence Using the Fill Handle

Now we move on to auto-filling the weekdays in full date format using the Fill Handle. It's like auto-filling dates but the sequence will be only of the weekday dates, not weekends. For reference, we will make a weekday name column so you can see which days are being listed. See the steps for auto-filling weekday dates below:

  • Enter the first date manually. For tips, refer to the segment on Entering the First Date

Autofill Weekdays Using the Fill Handle

  • Select the cell with the date. Click and drag the Fill Handle down to autofill the dates.

Autofill Weekday Sequence Using the Fill Handle

The autofill above includes weekends which is what we are aiming to leave out. For that, click on the icon highlighted above at the bottom-right of your selection: Auto Fill Options. From the list, select the Fill Weekdays option.

Autofill Weekday Sequence Using the Fill Handle

Now the weekends have been removed from the sequence leaving only the weekdays:

Autofill Weekday Sequence Using the Fill Handle

Autofill Weekday Sequence Using the Series Dialog

The second method of auto-filling the weekdays in full date format uses the Series dialog. The sequence will include weekday dates, not weekends. We will also keep a weekday name column for referral to show you which days will be auto-filled. Here's how to do it:

  • Enter the first date manually. For tips, refer to the segment on Entering the First Date

Autofill Weekdays Using the Fill Handle

  • Select the cell with the date, right-click and drag the Fill Handle down to the number of dates you want. Release the right-click mouse button to have a context menu appear.
  • Select the last action Series… to launch the Series dialog box.

Autofill Weekday Sequence Using the Series Dialog

  • In the dialog box, select the Weekday radio button.
  • Then click OK.

Autofill Weekday Sequence Using the Series Dialog

These steps will leave the weekday dates, removing the weekend dates:

Autofill Weekday Sequence Using the Series Dialog

Auto-Populate Dates in Excel with SEQUENCE Function

And last but not least, we couldn't wrap up a detailed guide without a function. Dates in Excel can be auto-populated using the SEQUENCE function. The SEQUENCE function returns a sequence of numbers according to the arguments fed in the function (the number of rows & columns, the starting value, and the steps). Let's see how we can use it here.

This is the formula we will apply for a regular sequence of dates:

= SEQUENCE(17,1,D3,1)

Here is the formula applied:

Auto-Populate Dates in Excel with SEQUENCE Function

We needed 17 dates from December 15th to December 31st so we have entered 17 into the function as the number of rows we need in the sequence. 1 is the number of columns. D3 is the start of the sequence and since we need sequential dates, we have entered the starting value as a date reference. The last 1 is the number of steps. If you wanted alternate dates, you can put 2 instead of 1 here and so on so forth.

The result of the function is a spill, as you can see from the blue border surrounding the result. This means you do not need to drag and fill the formula; it will be auto-filled.

Talking of spilling, we have spilled all our beans on auto-filling dates in Excel. Next time you're stuck with filling out a series, try one of the methods above to get your work flowing in a jiffy. We have so much more to kick your work in gear so keep heading back because let's be real, all that Excel knowledge is not going to autofill itself!

smithelable.blogspot.com

Source: https://exceltrick.com/how_to/autofill-dates-in-excel/

0 Response to "Excel How to Add Continuing Dates Automatically"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel