Advertisements

Excel CHAR Function

Excel CHAR function returns the character specified by a number. The excel CHAR function is used to translate code page numbers users might get from files on other types of computers into characters.

Example list:

Advertisements

  1. How to use CHAR(10) as line breaker?
  2. How to remove hidden space by using CHAR?
  3. List of printable ASCII characters and codes

Excel CHAR Function, How to generate character from character code, How to use the Excel CHAR function to Get a character from a number, CHAR() function examples, excel-char-function

Syntax

CHAR(number)

where,

number: is the character code or the cell reference of the character code.

Example 1: CHAR(10) as line breaker:

The following image shows the use of CHAR(10) as line breaker. The formula is =B5&CHAR(10)&B6&CHAR(10)&B7, which returns the names in one cell with line break.

Example 2: Remove hidden space:

Suppose, we have hidden space in the cell B5. In the cell C5, we have use =TRIM(B5) and counted the number of characters in cell D5 with =LEN(C5). We found 30 as the number of characters.

To remove the hidden space, we use the formula =SUBSTITUTE(B5, CHAR(160), “”), and counted the number of characters in cell D6 by using the formula =LEN(C6) and found that the number of characters is 29, indicating that our formula has removed the hidden space.

Excel CHAR Function, Remove hidden space in excel.

Related posts:

Advertisements

MS Office post

TRIM Function

REPLACE Function

List of printable ASCII codes and their characters:

Serial NumberCharacter SymbolCharacter CodeCharacter Name
1 32Space
2!33Exclamation mark
334Double quotes (or speech marks)
4#35Number
5$36Dollar
6%37Per cent sign
7&38Ampersand
839Single quote
9(40Open parenthesis (or open bracket)
10)41Close parenthesis (or close bracket)
11*42Asterisk
12+43Plus
13,44Comma
1445Hyphen
15.46Period, dot or full stop
16/47Slash or divide
17048Zero
18149One
19250Two
20351Three
21452Four
22553Five
23654Six
24755Seven
25856Eight
26957Nine
27:58Colon
28;59Semicolon
2960Less than (or open angled bracket)
30=61Equals
3162Greater than (or close angled bracket)
32?63Question mark
33@64At symbol
34A65Uppercase A
35B66Uppercase B
36C67Uppercase C
37D68Uppercase D
38E69Uppercase E
39F70Uppercase F
40G71Uppercase G
41H72Uppercase H
42I73Uppercase I
43J74Uppercase J
44K75Uppercase K
45L76Uppercase L
46M77Uppercase M
47N78Uppercase N
48O79Uppercase O
49P80Uppercase P
50Q81Uppercase Q
51R82Uppercase R
52S83Uppercase S
53T84Uppercase T
54U85Uppercase U
55V86Uppercase V
56W87Uppercase W
57X88Uppercase X
58Y89Uppercase Y
59Z90Uppercase Z
60[91Opening bracket
61\92Backslash
62]93Closing bracket
63^94Caret – circumflex
64_95Underscore
65`96Grave accent
66a97Lowercase a
67b98Lowercase b
68c99Lowercase c
69d100Lowercase d
70e101Lowercase e
71f102Lowercase f
72g103Lowercase g
73h104Lowercase h
74i105Lowercase i
75j106Lowercase j
76k107Lowercase k
77l108Lowercase l
78m109Lowercase m
79n110Lowercase n
80o111Lowercase o
81p112Lowercase p
82q113Lowercase q
83r114Lowercase r
84s115Lowercase s
85t116Lowercase t
86u117Lowercase u
87v118Lowercase v
88w119Lowercase w
89x120Lowercase x
90y121Lowercase y
91z122Lowercase z
92{123Opening brace
93|124Vertical bar
94}125Closing brace
95~126Equivalency sign – tilde
96127Delete
97128Euro sign
98130Latin small letter f with hook
99ƒ131Double low-9 quotation mark
100132Horizontal ellipsis
101133Dagger
102134Double dagger
103135Modifier letter circumflex accent
104137Per mille sign
105Š138Latin capital letter S with caron
106139Single left-pointing angle quotation
107Œ140Latin capital ligature OE
108Ž142Latin capital letter Z with caron
109145Left single quotation mark
110146Right single quotation mark
111147Left double quotation mark
112148Right double quotation mark
113149Bullet
114150En dash
115151Em dash
116˜152Small tilde
117153Trademark sign
118š154Latin small letter S with caron
119155Single right-pointing angle quotation mark
120œ156Latin small ligature oe
121ž158Latin small letter z with caron
122Ÿ159Latin capital letter Y with diaeresis
123 160Non-breaking space
124¡161Inverted exclamation mark
125¢162Cent sign
126£163Pound sign
127¤164Currency sign
128¥165Yen sign
129¦166Pipe, Broken vertical bar
130§167Section sign
131¨168Spacing diaeresis – umlaut
132©169Copyright sign
133ª170Feminine ordinal indicator
134«171Left double angle quotes
135¬172Not sign
136­173Soft hyphen
137®174Registered trade mark sign
138¯175Spacing macron – overline
139°176Degree sign
140±177Plus-or-minus sign
141²178Superscript two – squared
142³179Superscript three – cubed
143´180Acute accent – spacing acute
144µ181Micro sign
145182Pilcrow sign – paragraph sign
146·183Middle dot – Georgian comma
147¸184Spacing cedilla
148¹185Superscript one
149º186Masculine ordinal indicator
150»187Right double angle quotes
151¼188Fraction one quarter
152½189Fraction one half
153¾190Fraction three quarters
154¿191Inverted question mark
155À192Latin capital letter A with grave
156Á193Latin capital letter A with acute
157Â194Latin capital letter A with circumflex
158Ã195Latin capital letter A with tilde
159Ä196Latin capital letter A with diaeresis
160Å197Latin capital letter A with ring above
161Æ198Latin capital letter AE
162Ç199Latin capital letter C with cedilla
163È200Latin capital letter E with grave
164É201Latin capital letter E with acute
165Ê202Latin capital letter E with circumflex
166Ë203Latin capital letter E with diaeresis
167Ì204Latin capital letter I with grave
168Í205Latin capital letter I with acute
169Î206Latin capital letter I with circumflex
170Ï207Latin capital letter I with diaeresis
171Ð208Latin capital letter ETH
172Ñ209Latin capital letter N with tilde
173Ò210Latin capital letter O with grave
174Ó211Latin capital letter O with acute
175Ô212Latin capital letter O with circumflex
176Õ213Latin capital letter O with tilde
177Ö214Latin capital letter O with diaeresis
178×215Multiplication sign
179Ø216Latin capital letter O with slash
180Ù217Latin capital letter U with grave
181Ú218Latin capital letter U with acute
182Û219Latin capital letter U with circumflex
183Ü220Latin capital letter U with diaeresis
184Ý221Latin capital letter Y with acute
185Þ222Latin capital letter THORN
186ß223Latin small letter sharp s – ess-zed
187à224Latin small letter a with grave
188á225Latin small letter a with acute
189â226Latin small letter a with circumflex
190ã227Latin small letter a with tilde
191ä228Latin small letter a with diaeresis
192å229Latin small letter a with ring above
193æ230Latin small letter ae
194ç231Latin small letter c with cedilla
195è232Latin small letter e with grave
196é233Latin small letter e with acute
197ê234Latin small letter e with circumflex
198ë235Latin small letter e with diaeresis
199ì236Latin small letter i with grave
200í237Latin small letter i with acute
201î238Latin small letter i with circumflex
202ï239Latin small letter i with diaeresis
203ð240Latin small letter eth
204ñ241Latin small letter n with tilde
205ò242Latin small letter o with grave
206ó243Latin small letter o with acute
207ô244Latin small letter o with circumflex
208õ245Latin small letter o with tilde
209ö246Latin small letter o with diaeresis
210÷247Division sign
211ø248Latin small letter o with slash
212ù249Latin small letter u with grave
213ú250Latin small letter u with acute
214û251Latin small letter u with circumflex
215ü252Latin small letter u with diaeresis
216ý253Latin small letter y with acute
217þ254Latin small letter thorn
218ÿ255Latin small letter y with diaeresis

5 Responses

  1. Its great as your other articles : D, thanks for putting up. “What makes something special is not just what you have to gain, but what you feel there is to lose.” by Andre Agassi.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements