Help needed with using VALUE function...
Hi All -
I'm needing to convert Text to Number as intermediate step for another formula column in my worksheet.
Have successfully used VALUE Function =VALUE(LEFT(Probability@row, 2))
This will work great until I get to 100%.... Help & advice welcome
Best Answer
-
Use LEN to count the length of the string, then subtract 1 to account for the percent sign.
=VALUE(LEFT(Probability@row, LEN(Probability@row) - 1))
Answers
-
Do you need the LEFT function? Have you tried to just use =VALUE(Probability@row )
-
Use LEN to count the length of the string, then subtract 1 to account for the percent sign.
=VALUE(LEFT(Probability@row, LEN(Probability@row) - 1))
-
@Carson Penticuff - this worked like a charm and will be used in other worksheets! Thank you:-) Unfortunately, I missed the obvious yesterday... do you know how I display the numerical value as a decimal?
-
Do you mean that you want the values to displayed as the decimal representation of the original percent? If so, the easiest way is just to divide the result by 100. Then format the relevant column to display the number of decimal places you need.
=(VALUE(LEFT(Probability@row, LEN(Probability@row) - 1))) / 100
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!