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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!