Skip to main content

Add Days to a Date (Formula)

This calculated column uses a SharePoint formula to add a set number of days to any date column, so an expiration, renewal or follow-up date is worked out for you. Because it lives in a calculated column, SharePoint fills the value in for every item automatically - no custom development and nothing for your users to type.
Built with
Features
Calculated Column, Date and Time Column
Category
Formulas

Want one like this?

Talk to Greg
  • What it does: Adds a fixed number of days (90 here) to a Start Date to set an expiration date.
  • What you get: A date – a Start Date of 1/1 shows 4/1.
  • If a value is missing: If Start Date is blank, the column shows a blank or an error instead of a date.
  • Certificate or license validity from an issue date
  • Warranty windows from a purchase date
  • Trial or subscription end dates from a start date
  • Follow-up deadlines a set number of days after kickoff
  • Formula Type: Calculated Column
  • Formula Category: Dates & Time
Display nameColumn type
Start DateDate and Time
Add Days to a DateCalculated
  1. Create the column the formula reads: Start Date
  2. Add or edit a few items so there is data for the formula to work with
  1. Add a column, choose More…, then select Calculated (calculation based on other columns)
  2. Set the data type returned from this formula to Date and Time
  3. Paste the formula below into the Formula box
  4. Click OK to create the column
=[Start Date]+90
  • Expiration date from a start date: =[Start Date]+90
  • Expires 30 days after the last edit: =[Modified]+30
  • Reminder date before a deadline: =[Due Date]-14
  • Any offset you need: change the number of days. 7, 30, 90 and 365 all behave the same way.
What does this formula do?

Expiry based on a start/effective date. It lives in a calculated column, so SharePoint fills the value in automatically for every item.

Which columns do I need to set this up?

You need: Start Date (Date and Time). The formula reads these to produce its result.

Can I change the formula for my own columns?

Yes. Swap the column names in brackets for your own, and adjust any numbers or text.

If LookBook 365 is code-free and out-of-the-box, why does this example use a formula?

A SharePoint formula is native, declarative configuration, not custom development. It only works with the item’s own fields and simple logic – it cannot run scripts, reach external services, or change other data, and nothing is deployed to your tenant. It keeps working through Microsoft updates. If you would rather not set this up yourself, this is exactly the kind of thing I configure for clients.

How do I set an expiration date 30 days after an item is modified?

Use =[Modified]+30. Modified is a built-in column, so there is nothing to create first. The date moves forward each time someone edits the item, which suits review and recertification dates.

Can I count backwards from a date instead?

Yes. Subtract instead of adding. =[Due Date]-14 gives you a reminder date two weeks before the deadline, and the rest of the setup is identical.

Expiration Date From a Start Date Formula Example
Expiration Date From a Start Date Formula Example