How to format a column to display 12 hours format.

Anyone knows how to format a column to show 12 hours time? .e.g if i enter 20:00 it'll show as 8:00p

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    edited 04/05/21

    There is not currently a formatting option for time, but it is possible using a formula. Try something like this...

    =VALUE(LEFT([Time Column]@row, FIND(":", [Time Column]@row) - 1)) - IF(VALUE(LEFT([Time Column]@row, FIND(":", [Time Column]@row) - 1)) > 12, 12) + ":" + RIGHT([Time Column]@row, 2) + IF(VALUE(LEFT([Time Column]@row, FIND(":", [Time Column]@row) - 1)) >= 12, "p", "a")

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!