INVALID DATA TYPE return for a date formula

I have a formula that works to add 5 years to a date if the source cell has a date in it. If it doesn't, it returns #INVALID DATA TYPE.

How do I adjust the formula to stay blank or return nothing?

=DATE(YEAR([AC UPS Completed]@row) + 5, MONTH([AC UPS Completed]@row, DAY([AC UPS Completed]@row)))


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!