×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

#### Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
To Your Posts
• Keyword Search
• One-Click Access To Your
Favorite Forums
• Automated Signatures
On Your Posts
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

# SP2013 Calculation columns in a library

 Forum Search FAQs Links MVPs

## SP2013 Calculation columns in a library

(OP)
Hi,
I am struggling with how to do the following calculation. I cant get a clear answer on if nested calculations on numbers only on colors.

Column1 Column2 Column3
[End Date] Years Purge Date
1/31/2015 7 12/30/2021
1/31/2015 10 12/30/2024

So looking for something like this: IF[YEAR]=7,[END DATE]+2555 and so on. I only need this calculation for the number of years 10,7,1.5 and 1

Can anyone help

### RE: SP2013 Calculation columns in a library

(OP)
Update

This formula works perfectly =IF(Years=”7”,[End Date]+2555

This one does not work
=IF(Years=”7”,[End Date]+2555,IF(Years=”10",[End Date]+3650,IF(Year=”5",[End Date]+1825.""))))

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

### Reply To This Thread

#### Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!

Already a member? Close this window and log in.