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
3โ€œ34Double quotes (or speech marks)
4#35Number
5$36Dollar
6%37Per cent sign
7&38Ampersand
8โ€˜39Single quote
9(40Open parenthesis (or open bracket)
10)41Close parenthesis (or close bracket)
11*42Asterisk
12+43Plus
13,44Comma
14โ€“45Hyphen
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
97โ‚ฌ128Euro sign
98โ€š130Latin small letter f with hook
99ฦ’131Double low-9 quotation mark
100โ€ž132Horizontal ellipsis
101โ€ฆ133Dagger
102โ€ 134Double dagger
103โ€ก135Modifier letter circumflex accent
104โ€ฐ137Per mille sign
105ล 138Latin capital letter S with caron
106โ€น139Single left-pointing angle quotation
107ล’140Latin capital ligature OE
108ลฝ142Latin capital letter Z with caron
109โ€˜145Left single quotation mark
110โ€™146Right single quotation mark
111โ€œ147Left double quotation mark
112โ€148Right double quotation mark
113โ€ข149Bullet
114โ€“150En dash
115โ€”151Em dash
116หœ152Small tilde
117โ„ข153Trademark sign
118ลก154Latin small letter S with caron
119โ€บ155Single 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
145ยถ182Pilcrow 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