Mixed Fraction Formula
I am trying to get a cell to read 12 3/4 as 12.75 so Smartsheet will complete the math for the sheet in another cell.
Best Answer
-
Give this a go:
=IF(FIND("/", [Column Name]@row) <> 0, VALUE(LEFT([Column Name]@row, FIND(" ", [Column Name]@row) - 1)) + (VALUE(MID([Column Name]@row, FIND(" ", [Column Name]@row) + 1, FIND("/", [Column Name]@row) - (FIND(" ", [Column Name]@row) + 1))) / VALUE(RIGHT([Column Name]@row, LEN([Column Name]@row) - FIND("/", [Column Name]@row)))), [Column Name]@row)
Answers
-
You would need something along the lines of…
=VALUE(LEFT([Column Name]@row, FIND(" ", [Column Name]@row) - 1)) + (VALUE(MID([Column Name]@row, FIND(" ", [Column Name]@row) + 1, FIND("/", [Column Name]@row) - (FIND(" ", [Column Name]@row) + 1))) / VALUE(RIGHT([Column Name]@row, LEN([Column Name]@row) - FIND("/", [Column Name]@row))))
-
Thank you, I have been trying to get some of your other Formula's I found to work all morning as well. This did work for converting fractions - is there a way to add something in there to look for whole numbers as well? Sometimes we have whole number readings as well.
-
Give this a go:
=IF(FIND("/", [Column Name]@row) <> 0, VALUE(LEFT([Column Name]@row, FIND(" ", [Column Name]@row) - 1)) + (VALUE(MID([Column Name]@row, FIND(" ", [Column Name]@row) + 1, FIND("/", [Column Name]@row) - (FIND(" ", [Column Name]@row) + 1))) / VALUE(RIGHT([Column Name]@row, LEN([Column Name]@row) - FIND("/", [Column Name]@row)))), [Column Name]@row)
-
Sorry for the delay. YES this totally worked, you are greatly appreciated!!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!