#Office365Challenge Adding days to dates is something I use often to calculate review dates in SharePoint. Let me show you how.
Day: | 276 of 365, 89 left |
Tools: | Office 365, SharePoint |
Description: | SharePoint Calculated Field Formulas – add days to dates |
Audience: | All |
To add a certain number of days to a column can be done in different ways. If the review date on all the documents in your library is 1 year for example, the calculated column formula could simply read “Modified Date + 365”.
However, if you want to be selective on the number of days till review (per document), you would need to add an extra column for number of days (number column), and then the calculated column which adds these.
In my example, my calculated column adds the Modified (date) and Days to Review (number) columns together. The important thing would be to display the result as a date:
As mentioned, you can now enter different time periods for different documents and it will calculate the review date:
You can also add Months and Years in a similar way:
A reminder about the use of Commas or Semicolons in formulas, read Day 44 – Excel / SharePoint Formulas using Commas or Semicolons for more information.
Yay for formulas!
Overview of my challenge: As an absolute lover of all things Microsoft, I’ve decided to undertake the challenge, of writing a blog every single day, for the next 365 days. Crazy, I know. And I’ll try my best, but if I cannot find something good to say about Office 365 and the Tools it includes for 365 days, I’m changing my profession. So let’s write this epic tale of “Around the Office in 365 Days”. My ode to Microsoft Office 365.
Keep in mind that these tips and tricks do not only apply to Office 365 – but where applicable, to the overall Microsoft Office Suite and SharePoint.
Leave a Reply