Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need a column that contains the "Warning Date", which is two weeks prior to the expiry date. I am new to calculated columns so am not quite sure how to go about this. Any help is greatly appreciated.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

List and description of date functions you can use in calculated column formula can be found on MSDN:

In your case, the formula will obviously look like this:

=DATE(YEAR([Column1]),MONTH([Column1]),DAY([Column1])-14)

There Column1 should be replaced with the name of your expiry date column.

Also please don't forget to set the calculated field output type to "Date and time".

share|improve this answer
    
Thank you so much. –  Charles Baker Feb 13 '13 at 10:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.