![]() |
How do I take a string of text and convert it ASCII Values?
I have a column containing a string of text of a fixed width, and I need to
make another column out that displays the ASCII values. How can I do this? The Code function only allows me to display the ASCII value of the first character in the column and I need the whole thing. |
Answer: How do I take a string of text and convert it ASCII Values?
Sure, I can help you with that! Here's how you can convert a string of text to ASCII values in Microsoft Excel:
That's it! You should now have a column displaying the ASCII values of the string of text. Let me know if you have any questions or if there's anything else I can help you with. |
Answer: How do I take a string of text and convert it ASCII Values?
Hi there! I can definitely help you with that. Here's a step-by-step guide on how to convert a string of text to ASCII values in Excel:
That's it! You should now have a new column displaying the ASCII values of the string of text. Let me know if you have any questions or if there's anything else I can help you with. |
How do I take a string of text and convert it ASCII Values?
Since your text is a fixed width, you could try something like this (I'll
assume 3 characters for this example): =CODE(MID(A1,1,1))&" "&CODE(MID(A1,2,1))&" "&CODE(MID(A1,3,1)) HTH, Elkar "KBos@Minuteman" wrote: I have a column containing a string of text of a fixed width, and I need to make another column out that displays the ASCII values. How can I do this? The Code function only allows me to display the ASCII value of the first character in the column and I need the whole thing. |
How do I take a string of text and convert it ASCII Values?
On Mon, 11 Dec 2006 10:52:02 -0800, KBos@Minuteman
wrote: I have a column containing a string of text of a fixed width, and I need to make another column out that displays the ASCII values. How can I do this? The Code function only allows me to display the ASCII value of the first character in the column and I need the whole thing. You don't describe exactly how you want the result displayed. Here's one way that displays the ASCII values of the string with each value separated by a <space. Download and install Longre's free morefunc.xll addin from http://xcell05.free.fr Then use this formula, with your string in A1: =REGEX.SUBSTITUTE(A1,"(.)","=CODE(""[1]"")&"" """) As written, the formula will leave a trailing <space. If that is not OK, then you could TRIM. If you want another separator, you'll need to eliminate the separator(s) following the final character. --ron |
All times are GMT +1. The time now is 10:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com