Share via

Sharepoint Calculated Column Question

Anonymous
2025-03-24T05:38:14+00:00

I want to apply two formulas to my calculated column but I can only get one or the other to work at a time. The first is to return a date two years from the date in the [Training Completed] column, and if there is no date in the [Training Completed] column return a blank value (or appear as a blank value).

The two formulas I have are:

=DATE(YEAR([Training Completed]) + 2, MONTH([Training Completed]), DAY([Training Completed])

and

=IF(ISBLANK( [Training Completed]), "",

They both work one at a time but I don't know how to get them to work together?

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2025-03-24T09:22:47+00:00

Hi Libby Macdonald,

You can combine both formulas into a single expression like this:

=IF(ISBLANK([Training Completed]), "", DATE(YEAR([Training Completed]) + 2, MONTH([Training Completed]), DAY([Training Completed])))

This formula checks if [Training Completed] is blank—if it is, it returns an empty string (""), making the calculated column appear blank. Otherwise, it calculates the date two years from the [Training Completed] date.

Let us know if it helps or if you need any further assistance!

Best Regards,
Community Moderator | Sophia

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful