# Calculate expiration date

Generic formula

=A1+30 // 30 days

Summary

Explanation

In Excel, dates are simply serial numbers. In the standard date system for windows, based on the year 1900, where January 1, 1900 is the number 1. This means that January 1, 2050 is the serial number 54,789.

- If you are calculating a date n days in the future, you can add days directly as in the first two formulas.
- If you want to count by months, you can use the EDATE function, which returns the same date n months in the future or past.
- If you need an expiration date at the end month, use the EOMONTH function, which returns the last day of the month, n months in the future or past.
- An easy way to calculate the 1st day of a month is to use EOMONTH to get the last day of the previous month, then simply add 1 day.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.