Sheet Summary with combined date fields

I'm trying to build a Summary field that pulls in the StartDate and EndDate. I'm using this formula:

=[Start Date]# + " - " + [End Date]#.

Does bring in the data from the two fields, but it includes the time as well as the date:

"12/09/24 8:00 AM - 12/13/24 4:59 PM"

Question: can I get this data with just the dates: "12/09/24 - 12/13/24"

thanks

Best Answer

  • KPH
    KPH Community Champion
    Answer ✓

    If your dates are in date format columns you could try the DATEONLY function.

    =DATEONLY([Start Date]#) + " - " + DATEONLY([End Date]#)

    If they are text you can use the LEFT function to return only the first 8 characters.

    =LEFT([Start Date]#, 8) + " - " + LEFT([End Date]#, 8)

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!