Calculations with Date in Excel


Dates function also be used to subtract the Year, Month and Days from the existing dates. Sometimes we need to subtract specific period from the date. In case you are working on large database, this become tedious job for calculating date difference

Here we discussed the various scenarios where we can subtract the period from the dates. These are the simple formulas which will help you to perform these calculations with just few steps

How to add and subtract dates, days, weeks, months and years in Excel

  • Subtracting Years from Date:

We can subtract any number of years from the existing date and as part of example we will be following below Syntax to subtract the “5” years from the date

Syntax: =DATE(YEAR(A2)-5,MONTH(A2),DAY(A2))
SUBTRACTING YEARS IN DATE FUNCTION

In the above example, we are subtracting 5 years from 19th Sep 2019 and output will be 19th Sep 2014 (i.e. Year 2019 (-) 5 Years= 2014)

  • Addition Years in Date:

Adding Years in Dates: Below Syntax will be used to add “5” Years in the existing date

Syntax: =DATE(YEAR(A2)+5,MONTH(A2),DAY(A2))
Adding Years in Dates

In the above example, we are adding 5 years in 19th Sep 2019 and output will be 19th Sep 2024 (i.e. Year 2019 + 5 Years= 2024)

  • Subtracting Months from Date:

Below Syntax will be used to subtract “5” months from the date

Syntax: =DATE(YEAR(A2),MONTH(A2)-5,DAY(A2))
Subtracting Months from Date

In the above example, we are subtracting 5 months from 19th Sep 2019 and output will be 19th April 2019 (i.e. Sep Month (i.e. 9th Month) -5 Months= April (i.e. 4th Month))

  • Adding Months in Date:

Below Syntax will be used to add “5” months in the date

Syntax =DATE(YEAR(A2),MONTH(A2)+5,DAY(A2))
Adding Months in Dates

In the above example, we are adding 5 months in 19th Sep 2019 and output will be 19th Feb 2020 (i.e. Sep Month (i.e. 9th Month) +5 Months= Feb (i.e. 2th Feb of next year))

  • Subtracting Days from Date:

Below Syntax will be used to subtract “5” days from the date

Syntax: =DATE(YEAR(A2),MONTH(A2),DAY(A2)-5)
Subtracting Days from Date

In the above example, we are subtracting 5 days from 19th Sep 2019 and output will be 14th Sep 2019 (i.e. 19th Sep -5 Days= 14th Sep)

  • Adding Days in Date:

Below Syntax will be used to add “5” days in the date

Syntax =DATE(YEAR(A2),MONTH(A2),DAY(A2)+5)
Adding Days in Date

In the above example, we are adding 5 days in 19th Sep 2019 and output will be 24th Sep 2019 (i.e. 19th Sep +5 Days= 24th Sep)

How to calculate the difference between two dates?

Calculating days between two different dates are most common function that is used in Microsoft excel. I saw many users tries various complex method to calculate the difference but this is really a simple math calculations

We just need to place an excel formula i.e. “= Latest Date – Oldest Date”

Calculate Difference between Two Dates:
Calculate Difference between Two Dates:

Please comment your questions or feedback related to this article. 

Wanna learn more similar tricks. Please subscribe us or follow us from the left Social Media icon

Leave a Reply

avatar
Date Function in Excel
EXCEL TRICKS
Date Function in Excel

While using Microsoft Excel, you must have got the situation where you need to use the Date function. Date function is one of the common and most used function in Excel that helps in various calculations. This Function also helps to convert the serial numbers to Date format of your …

Logo Inserting Symbols in Excel
EXCEL TRICKS
How to Insert Symbol in Excel Numbers?

Have you ever faced the challenge while using special character symbols in number formatting or any customized number formatting? It is an easy method to insert any symbol in numbers i.e Delta Symbol or Special Character Symbols in Excel Number Formatting.  You may easily do this by following below steps: …

Delta Symbol
EXCEL TRICKS
1
Usage of Delta Symbol in Excel – Complete Guide

The Greek Capital Alphabet letter Delta (▲) and  is commonly discussed topic in Excel. This is being used for various purposes i.e. changes in quantity, insert the symbol in excel etc. Though inserting Delta (▲) is very easy in any of the MS Office Applications i.e. Excel, Word, Power Point …

error

Like the Article? Please spread the word :)

Facebook
Facebook
YouTube
YouTube
Pinterest
Pinterest
LinkedIn