TEXTINDENT

indents text with specified number of characters · a deepcalc original · no excel equivalent · no sheets equivalent

signature

TEXTINDENT(text, indent, [indent_char])

returns: text

argumentrequired
text required
indent required
indent_char optional

examples

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

fx =TEXTINDENT("hello", 4) hello
C
1 alpha
fx =TEXTINDENT(C1, 2) alpha

related

  • ASC converts full-width characters to half-width
  • BAHTTEXT spells a number as thai baht and satang
  • CHAR returns the character for a character-set code
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one