Numerical value of character
Can we extract the numerical value of a character ?
Kind of a "Char^-1 "
Char(112)= p
Char^-1(p)=112 <--- that is what I'm looking for.
Best Answer
-
Hello, there doesn't appear to be a Smartsheet function which does this on it's own. However, you could write your own using INDEX, MATCH and cross sheet references.
Create a "table sheet" with one column of characters and another column representing their number value. Then in the sheet where you'd like to have the translations done - set up cross sheet references for each of those two columns. Your formula for translating letters to numbers would look something like this:
INDEX({NumValue}, (MATCH(Value@row, {Char Values}, 0)))
Hope this helps!
Answers
-
Hello, there doesn't appear to be a Smartsheet function which does this on it's own. However, you could write your own using INDEX, MATCH and cross sheet references.
Create a "table sheet" with one column of characters and another column representing their number value. Then in the sheet where you'd like to have the translations done - set up cross sheet references for each of those two columns. Your formula for translating letters to numbers would look something like this:
INDEX({NumValue}, (MATCH(Value@row, {Char Values}, 0)))
Hope this helps!
-
I guess that is the way to do it. If Smartsheet does not have the function you want, make it !
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