Skip to main content

Excel Formula: Calculate expiry date

doc calculate overtime pay 4

If there are hundreds of food products in a store with different produce dates and warranty periods, you may want to know the expiry date of each product. Here, in this tutorial, it provides some formulas to calculate expiration date in Excel.

Here are some different expiration calculating types, the tutorial will introduce and explain the formulas one by one

If you want to follow along with this tutorial, please download the example spreadsheet.
doc sampel

1 Calculating expiration date n days in the future

 

Generic formula:

start_date+warranty

Arguments

Srart_date: the start date of the product.
Warranty: the total period that guarantee quality.

How this formula work

For instance, cell C3 contains the start date of a product whose warranty period is 100 days, please use below formula to get the expiration date.

=C3+100

Press Enter key.
doc calculate overtime pay 4

2 Calculating expiration date in end of current month

 

Generic formula:

EOMONTH(start_date,0)

Arguments

Srart_date: the start date of the product.

Return value

This formula returns a serial number. In Excel, dates are stored as serial numbers for calculation. January 1, 1900 is defined as 1, similarly, July 3, 2020 is defined as series number 44015.

How this formula work

For instance, cell C4 contains the start date of a product which guarantees quality until the end of current month, please use below formula to get the expiration date.

=EOMONTH(C4,0)

Press Enter key to get a serial number.
doc expiration time 2

Then format the serial number as date format by clicking Short Date from the drop-down list of Number Format under Home tab.
doc expiration time 3

Explanation

EOMONTH function: Get the last day of a given number of months in future or past.

Return value

This formula returns a serial number. In Excel, dates are stored as serial numbers for calculation. January 1, 1900 is defined as 1, similarly, July 3, 2020 is defined as series number 44015.

3 Calculating expiration date n months in the future

 

Generic formula:

EDATE(start_date,months)

Arguments

Srart_date: the start date of the product.
Month: the number of months for keeping quality.

Return value

This formula returns a serial number. In Excel, dates are stored as serial numbers for calculation. January 1, 1900 is defined as 1, similarly, July 3, 2020 is defined as series number 44015.

How this formula work

The cell C5 contains the start date of a product whose shelf life is 2 months, please use below formula to get the expiration date.

=EDATE(C5,2)

Press Enter key to get a serial number.
doc expiration time 4

Then format the serial number as date format by clicking Short Date from the drop-down list of Number Format under Home tab.
doc expiration time 5

Explanation

EDATE function: Add n months for a date.

Note:

If the item’s expiration date is n years in the future, you also use the formula EDATE(start_date,month). For instance, the start date is 3/1/2020, the warranty period is 1 year (12 months), use the formula:=EDATE(C6,12).
doc expiration time 6


Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (1)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Dekuji za radu, kterou jsem zde nasla!
Rated 5 out of 5
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations