Is there a way to format numbers from decimal into fraction like excel does.

Nader Akhras
edited 04/22/21 in Smartsheet Basics

I am in construction and the need for fractional formatting is very important. I have seen other community questions from 2017 regarding this but has not been updated. Will there be an option for the formatting soon?

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    There isn't a way to convert it to useable fractions, but with formulas we can convert them to text values that represent the fraction and we can convert text values that look like fractions into numerical values.

  • Sorry to revive this. I am also in construction and use fractions a lot. This is what we came up with to convert fractions into decimals in Smartsheet.

    This assumes that the fraction is in inches and is written exactly like these examples without the inch (") indicator:

    53 1/2
    102 33/64
    15 13/16


    =VALUE(LEFT([WIDTH F]@row, FIND(" ", [WIDTH F]@row) - 1)) + VALUE(MID([WIDTH F]@row, FIND(" ", [WIDTH F]@row) + 1, FIND("/", [WIDTH F]@row) - FIND(" ", [WIDTH F]@row) - 1)) / VALUE(MID([WIDTH F]@row, FIND("/", [WIDTH F]@row) + 1, LEN([WIDTH F]@row) - FIND("/", [WIDTH F]@row)))