Skip to main content

Days Until Due

This calculated column uses a SharePoint formula to count the days remaining from today until a due date. 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: Counts the days from today until the due date.
  • What you get: A whole number – a due date 5 days out shows 5, and a past due date shows a negative number.
  • If a value is missing: If Due Date is blank, the column shows a blank or an error instead of a count.
  • Countdown to a project or invoice due date
  • Days remaining on a contract
  • Time left before a certification lapses
  • Upcoming-deadline dashboards
  • Formula Type: Calculated Column
  • Formula Category: Dates & Time
Display nameColumn type
Due DateDate and Time
Days Until DueCalculated
  1. Create the column the formula reads: Due 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 Number
  3. Paste the formula below into the Formula box
  4. Click OK to create the column
=[Due Date]-[Today]
What does this formula do?

Countdown from today to a due 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: Due 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.