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
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))
@Allison S
Do you need the LEFT function? Have you tried to just use =VALUE(Probability@row )
@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
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, sort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.