FormulaCraft

LEN

LEN returns how many characters a piece of text contains. It is the building block for validation, trimming, and parsing formulas.

Excel
=LEN(A2)
Google Sheets
=LEN(A2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1A2 is the text to measure.
  2. 2LEN counts every character, spaces included.
  3. 3Combine with TRIM to ignore stray spaces: =LEN(TRIM(A2)).

Need a version for your data?

Try: “Count how many characters are in the text in A2

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: