Skip to content

Google Sheets text functions

Text functions in Google Sheets, explained with live examples.

41 text functions in Google Sheets — 33 documented in depth so far, the rest indexed below and landing every week.

Documented text functions

Syntax, examples, and the equivalent — ready now.

All Google Sheets text functions

The full set — deep dives on the way.

ASC
Converts full-width ASCII and katakana characters to their half-width counterparts. All standard-width characters will remain unchanged.
FINDB
Returns the position at which a string is first found within text counting each double-character as 2.
LEFTB
Returns the left portion of a string up to a certain number of bytes.
LENB
Returns the length of a string in bytes.
MIDB
Returns a section of a string starting at a given character and up to a specified number of bytes.
REPLACEB
Replaces part of a text string, based on a number of bytes, with a different text string.
RIGHTB
Returns the right portion of a string up to a certain number of bytes.
SEARCHB
Returns the position at which a string is first found within text counting each double-character as 2.

More Google Sheets function categories