The document provides various Excel date and time formulas, detailing their functions and expected results. It includes calculations for the number of days between dates, the current date, and adjustments to specific dates. Examples are given for clarity, showing how to manipulate date values effectively.
The document provides various Excel date and time formulas, detailing their functions and expected results. It includes calculations for the number of days between dates, the current date, and adjustments to specific dates. Examples are given for clarity, showing how to manipulate date values effectively.
Calculates the number of days from a =A2-A3 certain date (A2) until the end of another certain date (A3) Calculate the number of days from the =A2-TODAY() current date to end of another certain date (A2) =TODAY() Returns the current date. Returns the current date plus 5 days. For =TODAY()+5 example, if the current date is 1/1/2018, this formula returns 1/6/2018. Returns the number of days between the current date and 1/1/2030. Note that cell =DATEVALUE("1/1/2030")-TODAY() A4 must be formatted as General or Number for the result to display correctly. Returns the current day of the month (1 - =DAY(TODAY()) 31). Returns the current month of the year (1 - =MONTH(TODAY()) 12). For example, if the current month is May, this formula returns 5. Add 3 years, 1 month, and 5 days to the =DATE(YEAR(A2)+3,MONTH(A2)+1,DAY(A2)+5) value in cell A2. Example, if A2=6/9/2007, the formula returns 7/14/2010. Add 1 year, 7 months, and 5 days to the =DATE(YEAR(A2)+1,MONTH(A2)+7,DAY(A2)+5) value in cell A2. Example, if A2=6/9/2007, the formula returns 2/14/2008.