0% found this document useful (0 votes)
24 views

Date and Time Formulas

This document describes formulas for calculating dates and times in Excel. It provides formulas for calculating the number of days between dates, returning the current date, adding or subtracting days from dates, extracting the year, month, and day components from dates, and combining date components to create new dates. The formulas allow for basic date and time calculations like finding durations, adjusting dates, and constructing dates from components.

Uploaded by

Bio Sciences
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Date and Time Formulas

This document describes formulas for calculating dates and times in Excel. It provides formulas for calculating the number of days between dates, returning the current date, adding or subtracting days from dates, extracting the year, month, and day components from dates, and combining date components to create new dates. The formulas allow for basic date and time calculations like finding durations, adjusting dates, and constructing dates from components.

Uploaded by

Bio Sciences
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DateandTimeFormulas

Formula

Description(Result)

=A2A3

Calculatesthenumberofdaysfroma
certaindate(A2)untiltheendof
anothercertaindate(A3)

=A2TODAY()

Calculatethenumberofdaysfrom
thecurrentdatetoendofanother
certaindate(A2)

=TODAY()

Returnsthecurrentdate.

=TODAY()+5

Returnsthecurrentdateplus5days.
Forexample,ifthecurrentdateis
1/1/2008,thisformulareturns
1/6/2008.

=DATEVALUE("1/1/2030")TODAY()

Returnsthenumberofdaysbetween
thecurrentdateand1/1/2030.Note
thatcellA4mustbeformattedas
GeneralorNumberfortheresultto
displaycorrectly.

=DAY(TODAY())

Returnsthecurrentdayofthemonth
(131).

=MONTH(TODAY())

Returnsthecurrentmonthofthe
year(112).Forexample,ifthe
currentmonthisMay,thisformula
returns5.

=DATE(YEAR(A2)+3,MONTH(A2)+1,DAY(A2)+5)

Add3years,1month,and5daysto
thevalueincellA2.Example,ifA2=
6/9/2007,theformulareturns
7/14/2010.

=DATE(YEAR(A2)+1,MONTH(A2)+7,DAY(A2)+5) Add1year,7months,and5daysto
thevalueincellA2.Example,if
A2=6/9/2007,theformulareturns

You might also like