Need to compare dates between two columns and choose the later date

Options

Hello, I'm trying to figure out how to write a formula to compare the dates in two different columns and populate a third column with the later of the two dates.

Answers

  • bisaacs
    bisaacs ✭✭✭✭✭
    Options

    Hey @Ally C,

    I would just use an IF statement in the third date column to compare the dates:

    =IF([Date 1]@row > [Date 2]@row, [Date 1]@row, [Date 2]@row)

    Hope this helps!

    If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!

    I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!

  • Ally C
    Options

    Perfect! I'd tried something similar and had checked that both columns were formatted as dates but I overlooked the obvious which was to format the third column as a date.

    Your formula works perfectly and made me step back and troubleshoot.

    Thanks!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!