Insert Date in Excel

Last Updated :

-

Blog Author :

Edited by :

Reviewed by :

Table Of Contents

arrow

Examples

Here, we will learn how to insert a date in Excel with the help of the examples below.

Example #1 - Date Stored as a Number

In the Excel sheet, let us take 50, 100, and today’s date, 30/01/2019.

Insert Date Example 1

Now, we can observe how data is stored in Excel when we change the formatting of the above data to date and accounting format.

50 – Change format to short date

100 – Change format to short date

30/01/2019 – Change format to accounting as it already in date format

Insert Date Example 1-1

If we observe the number 50 has been changed to date. It displayed exactly 50 days from 01/01/1900 (including this date in the count). Similarly, for the number 100, the date indicated in the exact count from 01/01/1900. And the third observation, which is already in date format and we changed to number format, displays “43,495.” So, today, 30/01/2019 is 43,495 days away from the cut-off date.

Example #2 - Inserting Specific Date in Excel

To insert a specific valid date in Excel, we must use DATE().

Insert Date in excel Example 2

In the above function, we can observe that DATE asks to provide "year," "month," and "day" values. As we give the details of it, then this displays the date in default format as below:

Insert Date in excel Example 2-1

In the above example, we had given the "year" as 1992, "month" as 10, and "day" as 30. But, the output is displayed as per the default format.

Example #3 - Changing the Inserted Date Format in Excel

As seen in our earlier examples, we have displayed the date in a pre-defined format. To change the date format, we should go to "Format Cells." Let us see how we can do it:

Change the Format of Date 3

To access the "Format Cells," we should right-click on the "Date" cell. Then, the above list of operations will pop out. Here, we must select the "Format Cells," which may take us to the “Format Cells” window.

Change the Format of Date 3-1

We got the list in a different format for the date as above. So, let us select one of the formats and see how the format got changed as below.

Change the Format of Date 3-2

It is an important formatting feature that helps select dates as per their required format for different organizations.

Example #4 - Insert List of Sequential Dates in Excel?

If we want to list out of the sequential dates, we can select the start date, dragging it down until we reach the end date as per your requirement.

We must insert the date manually (do not use DATE()).

Sequence of Dates 1

And drag it down as below.

Sequence of Dates 2

Here we got the list of dates in a sequence from the starting date.

Example #5 - Insert Dates with  NOW() and TODAY() Excel Function

To get the present-day date, we can use TODAY() and get the present day and the current time. Then, we should go with the NOW() Function.  Let us see the example below:

uses of NOW() and TODAY()

We also got a keyboard shortcut instead of the formulas.

We should use the "Alt +" shortcut instead of the TODAY() Excel function to get the present date.

We should use the "Alt + Shift + " shortcut instead of the NOW() Excel function to get the present date along with the time.

Example #6 - How to Extract Selective Information from the Inserted Excel Date Values.

There are three important functions in Excel that help us extract the specific information from the date. They are: 

  1. DAY()
  2. MONTH()
  3. YEAR()
insert date example 6

Example #7 - Using TEXT() for Inserting Dates in Excel

TEXT() is one of the very important formulas for the presentation of data into a certain desired custom format.

TEXT for dates in Excel

Let us assume the dates as per the above example. We can get the day, month, year, and per the formats mentioned in the third column.

TEXT for dates in Excel example 1

Using the TEXT() as above, we can derive as per the format required.

TEXT for dates in Excel example 2

We can also use the TEXT() in changing the date format as per our requirement. We can avoid going to "Format Cells" and changing the format. It will also reduce the time consumption when changing the format.

Let us see how we can change the format using the TEXT().

TEXT for dates in Excel example 3

TEXT() will also help us in concatenating with a date.

However, when we try to concatenate without using the TEXT() then, it may display the number instead of the date as below:

TEXT for dates in Excel example 4

By using the TEXT(), we can concatenate with an actual date as below:

TEXT for dates in Excel example 5

How to Change the Format of the Inserted Date in Excel?

If we observe from the above example, the date is in the form of MM/DD/YYYY. Suppose we want to change the format, then we can do it as per below:

We should go to the "Control Panel" and select " Ease of Access.” Then, we can visualize the option of the clock, language, and region.

Change Format of Date 1

Click on the above option. It will pop out to other windows where we can get a choice of the region and go on that.

Change Format of Date 2

Here, we can select the date format as per our requirement, short date or long date. It will be the default setting of the date once we apply it. If we want to go to the previous format, we can reset it on the window.

Things to Remember

Inserting a valid date in excel should always be stored as a number. We can verify this condition by using ISNUMBER().

Let us take the date in two different formats, as shown above. Inserting a valid date in Excel should always be stored in the number format, so we need to verify the same.

As we check for the number using the ISNUMBER(), function, the date which is stored in the form of the number and a valid date will be “TRUE” or else “FALSE.”

In our example above :

  • 30/01/2019 – This is TRUE as it is stored in the form of a number, and this date is valid
  • 30.01.2019 – This is FALSE, as it is not stored in the form of the number, and it is not valid.