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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!