How to Subtract Months in Excel: A Step-by-Step Guide

You can use the EDATE function to quickly add or subtract months from a date. The EDATE function requires two arguments: the start date and the number of months that you want to add or subtract. To subtract months, enter a negative number as the second argument . For example, =EDATE("9/15/19",-5) returns 4/15/19.

Excel is a powerful tool for managing data and calculations, but sometimes it can be tricky to figure out how to perform certain functions. One common task is subtracting months from a date, which can be useful for things like calculating due dates or expiration dates. In this post, we’ll walk you through how to subtract months in Excel using the “edate” function.

To begin, let’s imagine that we have a list of book club members and the date of their last payment. We want to calculate the date when their next payment is due, which will be 12 months from their last payment. To do this, we’ll use the “edate” function.

The “edate” function takes two arguments: the start date and the number of months to add or subtract. In our case, the start date is the date of the member’s last payment, and we want to add 12 months to it. We could hard-code the value of 12 into the formula, but it’s better practice to refer to a cell containing that value instead. This way, if we need to change the length of our membership later on, we only need to update one cell.

Once we’ve entered the “edate” formula with the appropriate arguments, we can copy it down to calculate the due date for each member’s next payment. However, because we’re referring to a cell containing the number of months to add, we need to fix that reference before copying the formula down. We can do this by using the F4 key on our keyboard to add dollar signs to the cell reference.

In addition to adding months to a date, we can also use the “edate” function to subtract months from a date. To do this, we simply enter a negative value for the number of months to add. For example, if we wanted to calculate the date that was 12 months before a particular date, we would enter “-12” as the second argument in our formula.

Finally, it’s worth noting that we can use the “edate” function to add or subtract years as well, by multiplying the number of months by 12. For example, if we wanted to calculate the due date for a payment that was three years from the last payment, we would enter “36” (i.e. 12 months x 3 years) as the second argument in our formula.

In conclusion, the “edate” function in Excel is a powerful tool for adding or subtracting months, and even years, from a given date. By using a cell reference for the number of months, we can easily update our calculations if our membership length changes. We hope you found this guide useful for your Excel calculations!

FAQ

How do I calculate months difference in Excel?
=DATEDIF( start_date, end_date, “M”)=DATEDIF(B2,C2,"M")=(YEAR(end_date)-YEAR(start_date))*12+MONTH(end_date)-MONTH(start_date)=(YEAR(C2)-YEAR(B2))*12+MONTH(C2)-MONTH(B2)=YEARFRAC( start_date, end_date) * 12.More items...
Read more on www.got-it.ai
How do I subtract 5 months in Excel?
Add months to or subtract months from a date To subtract months, enter a negative number as the second argument (for example, =EDATE("2/15/12",-5)). This formula subtracts 5 months from 2/15/12 and results in the date 9/15/11.
How do I subtract months and years in Excel?
To add years to a date in Excel: =DATE(YEAR(A2) + 5, MONTH(A2), DAY(A2)) The formula adds 5 years to the date in cell A2.To subtract years from a date in Excel: =DATE(YEAR(A2) - 5, MONTH(A2), DAY(A2)) The formula subtracts 5 years from the date in cell A2.
Read more on www.ablebits.com
How do I subtract 3 months in Excel today?
Select the blank cell you will place the calculating result, type the formula =EDATE(A2,3), and drag this formula cell's AutoFill handle to apply this formula to other cells as you need. Note: To subtracting 3 months from the date, please use this formula =EDATE(A2,-3).