CHAR function

CHAR() function

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

Returns the character specified by a number

CHAR(number)


CHAR uses a character code between 1 and 255 to translate ASCII ("American Standard Code for Information Interchange") code page numbers into actual characters. It can be useful to generate characters that are hard to type, for example the capital letter A with symbols in different languages.

  • =CHAR(65) // returns "A"
  • =CHAR(192) // returns "À"
  • =CHAR(193) // returns "Á"
  • =CHAR(194) // returns "Â"
  • =CHAR(195) // returns "Ã"
  • =CHAR(196) // returns "Ä"
  • =CHAR(197) // returns "Å"
  • =CHAR(198) // returns "Æ"

CHAR(10) returns a line break. For example, ="This is the first line"&CHAR(10)&"This is the second line" will return the 2 sentences on separate lines (enable word wrap within the cell to view the results).

Use the UNICHAR function to translate modern unicode systems.

Use the CODE function to reverse lookup a character number.

  • =CODE("A") // returns 65

Caveats

The CHAR function:

  • requires a number between 1 and 255.
  • returns a text value.
  • returns #VALUE! if number is out of range or non-numeric.

CHAR examples.

In the examples below, the CHAR function is used to generate different characters. Note that the use of different fonts further expands the range of characters that can be used.

Use the CHAR function to return the character specified by a number.

Use the CHAR function to return the character specified by a number.

Syntax

=CHAR(number)

The CHAR function consists of 1 argument:

  1. number. Required. A number between 1 and 255 specifying the character to be returned from the character set used by your computer.

Character codes

Below is a complete list of character codes from 32 to 255. The first 31 characters are non-printing "control codes", most of which are no longer used.

CodeCharacter NameSymbol
32Space
33Exclamation mark!
34Double quotes (or speech marks)"
35Number#
36Dollar$
37Per cent sign%
38Ampersand&
39Single quote'
40Open parenthesis (or open bracket)(
41Close parenthesis (or close bracket))
42Asterisk*
43Plus+
44Comma,
45Hyphen-
46Period, dot or full stop.
47Slash or divide/
48Zero0
49One1
50Two2
51Three3
52Four4
53Five5
54Six6
55Seven7
56Eight8
57Nine9
58Colon:
59Semicolon;
60Less than (or open angled bracket)<
61Equals=
62Greater than (or close angled bracket)>
63Question mark?
64At symbol@
65Uppercase AA
66Uppercase BB
67Uppercase CC
68Uppercase DD
69Uppercase EE
70Uppercase FF
71Uppercase GG
72Uppercase HH
73Uppercase II
74Uppercase JJ
75Uppercase KK
76Uppercase LL
77Uppercase MM
78Uppercase NN
79Uppercase OO
80Uppercase PP
81Uppercase QQ
82Uppercase RR
83Uppercase SS
84Uppercase TT
85Uppercase UU
86Uppercase VV
87Uppercase WW
88Uppercase XX
89Uppercase YY
90Uppercase ZZ
91Opening bracket[
92Backslash\
93Closing bracket]
94Caret – circumflex^
95Underscore_
96Grave accent`
97Lowercase aa
98Lowercase bb
99Lowercase cc
100Lowercase dd
101Lowercase ee
102Lowercase ff
103Lowercase gg
104Lowercase hh
105Lowercase ii
106Lowercase jj
107Lowercase kk
108Lowercase ll
109Lowercase mm
110Lowercase nn
111Lowercase oo
112Lowercase pp
113Lowercase qq
114Lowercase rr
115Lowercase ss
116Lowercase tt
117Lowercase uu
118Lowercase vv
119Lowercase ww
120Lowercase xx
121Lowercase yy
122Lowercase zz
123Opening brace{
124Vertical bar|
125Closing brace}
126Equivalency sign – tilde~
127Delete
128Euro sign
130Latin small letter f with hook
131Double low-9 quotation markƒ
132Horizontal ellipsis
133Dagger
134Double dagger
135Modifier letter circumflex accent
137Per mille sign
138Latin capital letter S with caronŠ
139Single left-pointing angle quotation
140Latin capital ligature OEŒ
142Latin capital letter Z with caronŽ
145Left single quotation mark
146Right single quotation mark
147Left double quotation mark
148Right double quotation mark
149Bullet
150En dash
151Em dash
152Small tilde˜
153Trade mark sign
154Latin small letter S with caronš
155Single right-pointing angle quotation mark
156Latin small ligature oeœ
158Latin small letter z with caronž
159Latin capital letter Y with diaeresisŸ
160Non-breaking space 
161Inverted exclamation mark¡
162Cent sign¢
163Pound sign£
164Currency sign¤
165Yen sign¥
166Pipe, Broken vertical bar¦
167Section sign§
168Spacing diaeresis – umlaut¨
169Copyright sign©
170Feminine ordinal indicatorª
171Left double angle quotes«
172Not sign¬
173Soft hyphen­
174Registered trade mark sign®
175Spacing macron – overline¯
176Degree sign°
177Plus-or-minus sign±
178Superscript two – squared²
179Superscript three – cubed³
180Acute accent – spacing acute´
181Micro signµ
182Pilcrow sign – paragraph sign
183Middle dot – Georgian comma·
184Spacing cedilla¸
185Superscript one¹
186Masculine ordinal indicatorº
187Right double angle quotes»
188Fraction one quarter¼
189Fraction one half½
190Fraction three quarters¾
191Inverted question mark¿
192Latin capital letter A with graveÀ
193Latin capital letter A with acuteÁ
194Latin capital letter A with circumflexÂ
195Latin capital letter A with tildeÃ
196Latin capital letter A with diaeresisÄ
197Latin capital letter A with ring aboveÅ
198Latin capital letter AEÆ
199Latin capital letter C with cedillaÇ
200Latin capital letter E with graveÈ
201Latin capital letter E with acuteÉ
202Latin capital letter E with circumflexÊ
203Latin capital letter E with diaeresisË
204Latin capital letter I with graveÌ
205Latin capital letter I with acuteÍ
206Latin capital letter I with circumflexÎ
207Latin capital letter I with diaeresisÏ
208Latin capital letter ETHÐ
209Latin capital letter N with tildeÑ
210Latin capital letter O with graveÒ
211Latin capital letter O with acuteÓ
212Latin capital letter O with circumflexÔ
213Latin capital letter O with tildeÕ
214Latin capital letter O with diaeresisÖ
215Multiplication sign×
216Latin capital letter O with slashØ
217Latin capital letter U with graveÙ
218Latin capital letter U with acuteÚ
219Latin capital letter U with circumflexÛ
220Latin capital letter U with diaeresisÜ
221Latin capital letter Y with acuteÝ
222Latin capital letter THORNÞ
223Latin small letter sharp s – ess-zedß
224Latin small letter a with graveà
225Latin small letter a with acuteá
226Latin small letter a with circumflexâ
227Latin small letter a with tildeã
228Latin small letter a with diaeresisä
229Latin small letter a with ring aboveå
230Latin small letter aeæ
231Latin small letter c with cedillaç
232Latin small letter e with graveè
233Latin small letter e with acuteé
234Latin small letter e with circumflexê
235Latin small letter e with diaeresisë
236Latin small letter i with graveì
237Latin small letter i with acuteí
238Latin small letter i with circumflexî
239Latin small letter i with diaeresisï
240Latin small letter ethð
241Latin small letter n with tildeñ
242Latin small letter o with graveò
243Latin small letter o with acuteó
244Latin small letter o with circumflexô
245Latin small letter o with tildeõ
246Latin small letter o with diaeresisö
247Division sign÷
248Latin small letter o with slashø
249Latin small letter u with graveù
250Latin small letter u with acuteú
251Latin small letter u with circumflexû
252Latin small letter u with diaeresisü
253Latin small letter y with acuteý
254Latin small letter thornþ
255Latin small letter y with diaeresisÿ

Functions Category

 

Register (for free!) or Login to access bonus materials

About xlsnippets

Learn how to master functions, charts, pivot tables and more using Excel for Microsoft Office 365. Simple instructions and embedded spreadsheets help you practise the basics.

Latest Updates

26 March 2022
26 March 2022
26 March 2022
25 March 2022
22 March 2022

Coming soon

xlsnippets.com is currently in beta version. More functions and bonus content for registered users will be added weekly. Detailed training courses with additional downloadable resources are also on the horizon!