Converting measures with fraction
Hi all,
I am having a hard time to se a formula that converts this measure format 10'  4 1/2" to Feet without fraction. The trick part is one of my parameter wont have the fraction "10'  9"".
Could I please have some help.
Thanks a lot.
Bruno Gazire
Answers

I used helper columns to split out the numbers. For a reason I do not yet understand, I could not get the Inches to appear as value in the main formula column named Inches but needed to add an additional helper column to turn that number from text to value.
Feet: =VALUE(LEFT(Measure@row, FIND("'", Measure@row)  1))
Inches:
=IF(CONTAINS("/", Measure@row) = "TRUE", VALUE(MID(Measure@row + " ", FIND("~", SUBSTITUTE(Measure@row + " ", " ", "~", 2)) + 1, FIND("~", SUBSTITUTE(Measure@row + " ", " ", "~", 3))  FIND("~", SUBSTITUTE(Measure@row + " ", " ", "~", 2))  1)), MID(Measure@row, FIND(" ", Measure@row) + 1, LEN(Measure@row)  FIND(" ", Measure@row)  1))
(When I added "Value" to the false portion of the if statement above, it returns Invalid)
[Credit goes to @Leibel S to find text between spaces. https://community.smartsheet.com/discussion/98219/howdoireturntextfromtextstringwiththespaceasadelimiter]
Inches Value: =VALUE(Inches@row)
Fraction: =IF(CONTAINS("/", Measure@row) = "TRUE", VALUE(MID(Measure@row, FIND("/", Measure@row)  1, 1)) / VALUE(MID(Measure@row, FIND("/", Measure@row) + 1, 1)), 0)
I hope these work for you!
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.7K Get Help
 63 Global Discussions
 69 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!