How can I enter and display construction measurements?
I'm creating a report for field workers to measure site conditions. They use their tablets to enter the measurements into the report which updates the Smartsheet for the job. We use standard construction measurements. Is there any way to display and enter the measurements in contruction notation, e.g. 126 3/16" or 5 3/4". I'm trying to avoid them having to have a calculator to convert those to 126.1875" or 5.75". They could also enter them with a space between the integer and the fraction, but then it won't be data I can use to make calculations later. I'm trying to make this as fool proof as possible but also have usable data.
Best Answers
-
Would it work for you if you had a formula in a helper column that could pull the fraction, convert it to a decimal, then add the integer?
-
Hey @Bobert
You need to use a long formula like the one below which uses logic to separate out things. A bit harder than it should be of course but it gets the job done.
=VALUE(LEFT(Length@row, FIND(" ", Length@row) - 1)) + VALUE(LEFT(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), FIND("/", LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1)) - 1)) / VALUE(SUBSTITUTE(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), LEFT(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), FIND("/", LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1))), ""))
-
Here is a little bit of a shorter formula. Apologies for the delayed response. I was taking an extended vacation in between the holidays.
=VALUE(LEFT(Length@row), FIND(" ", Length@row) - 1)) + (VALUE(MID(Length@row, FIND(" ", Length@row) + 1, FIND("/", Length@row) - (FIND(" ", Length@row) + 1) / VALUE(MID(Length@row, FIND("/", Length@row) + 1, FIND(""", Length@row) - (FIND("/", Length@row) + 1)))
Answers
-
Would it work for you if you had a formula in a helper column that could pull the fraction, convert it to a decimal, then add the integer?
-
What kind of formula could I use to pull the integer and fraction without mistaking the numerator or denominator for an integer?
-
Hey @Bobert
You need to use a long formula like the one below which uses logic to separate out things. A bit harder than it should be of course but it gets the job done.
=VALUE(LEFT(Length@row, FIND(" ", Length@row) - 1)) + VALUE(LEFT(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), FIND("/", LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1)) - 1)) / VALUE(SUBSTITUTE(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), LEFT(LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1), FIND("/", LEFT(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1)), LEN(RIGHT(Length@row, LEN(Length@row) - FIND(" ", Length@row + 1))) - 1))), ""))
-
Here is a little bit of a shorter formula. Apologies for the delayed response. I was taking an extended vacation in between the holidays.
=VALUE(LEFT(Length@row), FIND(" ", Length@row) - 1)) + (VALUE(MID(Length@row, FIND(" ", Length@row) + 1, FIND("/", Length@row) - (FIND(" ", Length@row) + 1) / VALUE(MID(Length@row, FIND("/", Length@row) + 1, FIND(""", Length@row) - (FIND("/", Length@row) + 1)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!