CHAR

returns the character for a character-set code · from excel · excel: verified match · sheets: not yet compared

signature

CHAR(number)

returns: text

argumentrequired
number required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =CHAR(65) A

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =CHAR(300)

related

  • ASC converts full-width characters to half-width
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one
  • CONCATENATE joins several text strings into one
  • CONTAINS checks if text contains substring