TODAY in Excel (Formula, Examples) | How to use the TODAY function? (2023)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (1)

TODAY in Excel (Table of Contents)

  • TODAY in Excel
  • Formula TODAY in Excel
  • How to use the TODAY function in Excel?

TODAY in Excel

The Today function in Excel is the simplest type of function that returns only today's date in the order Month, Date, Year in MMDDYYYY format. It can be any day of the year and when we use the Today function it only returns the date when we run the Today function in Excel.

Definition:

The TODAY function in Excel returns today or today's date, regardless of when you open the workbook.

Start your Excel course for free

Excel functions, formulas, charts, formatting, creating Excel dashboards and more

TODAY Formula in Excel:

Below is the TODAY formula in Excel:

Excel VBA All-in-One Package (120+ Courses, 30+ Projects) See Price Courses 120+ Online Courses | More than 30 projects | 500+ hours | Verifiable Certificates | Lifetime Access 4.9 (64,452 reviews)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (10)

How to use the TODAY function in Excel?

TODAY in Excel is very simple and easy to use. Let's understand how the TODAY function works in Excel with a TODAY formula example. A TODAY function can be used both as a spreadsheet function and as a VBA function.

You can download this Excel template of the TODAY function here:TODAY function excel template

Example 1

Using the Today function in Excel, I need to find the current or current date in cell "D8". Let's apply the TODAY function in cell "D8". Select cell D8 on which to apply the TODAY function.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (11)

Click the paste function (fx) button below the formula toolbar; A dialog box will appear. Enter the keyword "TODAY" in the search box of a feature. The role TODAY appears in the Choose a role field. Double click on the TODAY function.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (12)

A popup appears with the message "This function does not accept any arguments." click OK.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (13)

The =Today() function returns today's date; h on 11.16.18.

Here it is not necessary to introduce arguments; is used as or with empty square brackets.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (14)

Example #2

To add 7 days or a week to the current date, you need to enter the following formula in a cell:

=HOY()+7 O =HOY()+B13

Here the cell reference (B13) or +7 is used together with the today function.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (15)

=TODAY()+B13 is entered into a cell "D13".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (16)

Returns the output value 11/23/18. In the backend, the formula =TODAY()+B13 adds 7 days to today's date. Data in Excel is stored as numbers. So we can just add +7 to return an output.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (17)

Example #3

The Today function is also used with other functions besides the day, month, year, and day of week functions.

A) The today function is used together with the month function to find out the number of the current month

=MONTH(TODAY())The formula is used in cell "C20".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (18)

Returns the current month of the year (1 - 12); the current month is November; therefore, it produces or returns an output value of 11.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (19)

B) The Today function is used together with the Year function to find out the current year

=YEAR(TODAY())The formula is used in cell "C23".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (20)

Returns the year. i.e. 2018.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (21)

C) The today function is used together with the day function to find out the current day

=DAY(TODAY())The formula is used in cell "C17".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (22)

Returns the current day of the month (1 - 31); The current day of the month is the 15ththeDay; therefore, it produces or returns an output value of 16.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (23)

D) The today function is used in conjunction with the day of week function to find out the current week

In general, when we enter the day of the week function, it returns the day of the week, which corresponds to a date. Returns a number between 1 and 7, the number leading to a specific or specific day of this week.

Default weekday function; If the day is Sunday, 1 is returned. If the day is Saturday, 7 is returned. Let's see how the DAY OF WEEK function works together with the TODAY function in Excel. The DAY OF WEEK function is used in conjunction with the Today function to check the day of the week.

=DAY OF THE WEEK(TODAY())The formula is used in cell "C26".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (24)

Returns the value 6; is the corresponding day of the week today.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (25)

Example #4

In the example below, given the person's date of birth, we can easily find out the person's current age using the TODAY function. To calculate the person's current age, the Today function can be used alone, or the Today function can be merged or integrated with the YEARFRAC, INT, and DATEDIF functions.

A) TODAY function - To know the age by date of birth

Using the today function, we can find the age by subtracting the date of birth from the current date.

In the following example, the date of birth is mentioned in cell G8 and today's date is mentioned in cell H8.

The today function is applied in cell "J8".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (26)

dh=(TODAY()-G8)/365

In the backend, the first part of the formula (TODAY()-G8) gives a difference between today's date and the date of birth, then this number is divided by 365 to get the person's age in years.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (27)

Returns the exact age of a person. that is, 36.52 (year with decimal number).

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (28)

B) TODAY function together with INT function - To find out the age

The INT function is used in conjunction with the TODAY function to round a decimal to the nearest integer (for age). In the following example, the date of birth is mentioned in cell G9 and today's date is mentioned in cell H9. The INT function is applied together with the Today function in cell "J9".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (29)

dh=INT((HOY()-G9)/365).

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (30)

Returns the age of a person. i.e. 36 (year without decimal number)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (31)

C) TODAY function together with the YEARFRAC function - to find out the age,

Tell us about the YEARFRAC function. The YEARFRAC function returns a decimal value that represents fractions of years between two dates. that is, the syntax is=FRAC OF THE YEAR (start date, end date, [base])Returns the number of days between 2 dates as a year.

Base: 1 is normally used; Tells Excel to divide the actual number of days in a month by the actual number of days in a year.

In the following example, the date of birth is mentioned in cell G10 and today's date is mentioned in cell H10. The YEARFRAC function is applied together with the Today function in cell J10.

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (32)

dh=FRAC YEAR(G10, TODAY(), 1)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (33)

Returns the age of a person. i.e. 36.50 (year with decimal number)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (34)

D) TODAY function together with the IF DATE function - to find out the age

The DATEDIF function, in conjunction with the Today function, can return the difference in years between two dates. In the following example, the date of birth is mentioned in cell G11 and today's date is mentioned in cell H11. The DATEDIF function is applied together with the Today function in cell "J11".

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (35)

dh=DATEDIF(G11, TODAY(), "y")

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (36)

In the backend, the DATEDIF formula calculates the age in years with the unit "y". The person's age is returned. i.e. 36 (year without decimal number)

TODAY in Excel (Formula, Examples) | How to use the TODAY function? (37)

things to remember

Before applying the TODAY function in Excel, if the cell is in general format, we need to convert this format to date format. To enter a static or today's date in a cell, click the shortcut key i.e. hCtrl+;

The parentheses in the TODAY function are required because the function does not expect any arguments or parameters.

Related Posts

This was a guide for the Excel function TODAY. Here we discuss the TODAY formula in Excel and how to use the TODAY function in Excel, along with practical examples and downloadable Excel templates. You can also check out our other suggested articles:

  1. TAG-Formula an Excel
  2. Excel-DAY-Function
  3. DAY OF THE WEEK formula in Excel
  4. NETWORK DAYS Excel Function

Popular course in this category

Excel Advanced Training (16 Courses, 23+ Projects) 16 Online Courses | 23 practical projects | 140+ hours | Verifiable Certificate of Completion 4.8Price see course

Similar courses

Excel training for human resources (8 courses, more than 10 projects)4.9

0share

Top Articles
Latest Posts
Article information

Author: Wyatt Volkman LLD

Last Updated: 03/24/2023

Views: 6531

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Wyatt Volkman LLD

Birthday: 1992-02-16

Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

Phone: +67618977178100

Job: Manufacturing Director

Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.