Date formats

Options

I have a date that is coming into my sheet via the CRM connect and the format is M/DD/YYYY. I need to create a formula that calculates 2 weeks prior to that date but cannot because Smartsheet does not recognize that as a correct date format.

Answers

  • Gia Thinh
    Gia Thinh ✭✭✭✭✭✭
    Options

    Hi @Merle Hughes

    First, you can create a new helper column named "Converted Date" with formula as below

    =IFERROR(DATE(VALUE(RIGHT([CRM Date]@row, 4)), VALUE(LEFT([CRM Date]@row, 1)), VALUE(MID([CRM Date]@row, 3, 2))), "")

    Then you can modify this formula to calculate your expected date based on this helper column.

    Hope it works for you.


    Gia Thinh Technology Co., LTD - Smartsheet Solution Partner.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!