Syntax
REPLACEB(text, position, num_bytes, new_text)
Arguments
The printed syntax lists 4 argument(s), in order:
textpositionnum_bytesnew_text
“optional” marks an argument Google prints in square brackets; “repeatable” marks one Google prints with “…”.
Description from Google Docs Editors Help
“Replaces part of a text string, based on a number of bytes, with a different text string.”Google’s help article for REPLACEB →
Source: Google Docs Editors Help, “Google Sheets function list” (support.google.com/docs/table/25273), record record 444 of 516, data fetched 28 September 2026. Data month: September 2026.