Two Dates fx

Options

Hello what formula would be best show one date from two columns? For example we submit for permit on date 1 and then receive the permit on date 2. What I would like to do is have one smartsheet that shows only one of those dates. So if there is a date for permit submission and not for permit received the cell would show date 1. If there was a date for both then it would show the most recent date.

Answers

  • Genevieve P.
    Genevieve P. Employee Admin
    Options

    Hi @Bcoulter

    There are a few ways to do this, depending on how you want the data presented.

    I would suggest simply setting up a MAX formula that looks at the two cells and returns the Max Date between the two cells (so if one is blank, then it will return the only date entered, but if both are filled then it returns the most recent).

    Try this:

    =MAX([Date 1]@row, [Date 2]@row)

    Keep in mind this would need to be placed in a Date Type of column to return a date.

    Let me know if this is what you were looking to do! If not, it would be helpful to see a screen capture of your sheet, but please block out sensitive data.

    Cheers,

    Genevieve

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!