ysskrishna logoysskrishna
Cover image for How to add prefixes, suffixes, and separators in Google Sheets

How to add prefixes, suffixes, and separators in Google Sheets

ysskrishna profile photoysskrishna
2 min read
Google Sheets Text Power Tools
Google Workspace Add-ons
Google Sheets
Text & Data Conversion

A lot of spreadsheet work is not analysis: it is preparing values for another system.

One upload needs WH- before every ID. Another requires -EU at the end of every SKU. Sometimes you need separators inserted into fixed-format codes before importing data somewhere else.

Those edits are simple in small batches, but repetitive and error-prone across hundreds or thousands of rows.

The Insert tab in Text Power Tools is built for that kind of bulk text change in Google Sheets. You select the cells, run the tool, and the values are updated in place.

What the Insert tab can do

The Insert tools apply the same text change across every selected cell.

OperationWhat it does
Add prefixAdds the same text to the beginning of every selected cell
Add suffixAdds the same text to the end of every selected cell
Add prefix and suffixApplies both in a single operation
Insert at positionInserts text at the same character position in every selected cell

Common use cases

Prepare IDs for imports

Examples: WH-1001, INV-2026, SKU-445

Many systems expect identifiers with a fixed prefix before import. Instead of rebuilding values with formulas or helper columns, you can apply the same prefix to every selected row in one step.

Label exports and datasets

Examples: ABC123-EU, ITEM-US, draft-v2

Suffixes are useful when datasets need region labels, environment markers, or version tags before export or sharing.

Reformat machine-generated codes

Sometimes values are technically correct but hard to read or rejected during import.

BeforeAfter
ABCD1234ABCD-1234
202605122026-05-12
SKU445566SKU-445-566

This is where Insert at position becomes useful. You can place separators at fixed character positions across the entire selection.

How Insert at position works

The tool uses 1-based positions:

  • Position 1 inserts before the first character
  • Position 5 inserts after the fourth character
  • To insert at the end, use length + 1

Example:

OriginalPositionInserted textResult
ABCD12345-ABCD-1234

Why this helps

Many spreadsheet text edits are formatting, not math. Without a bulk tool, people often end up manually editing cells, adding temporary helper columns, or copy-pasting transformed values back where they belong. Insert turns that into one batch step on the selection.

How to run it

  1. Open Text Power Tools -> Start
  2. Select the cells you want to change
  3. Open the Insert tab
  4. Choose prefix, suffix, both, or insert at position
  5. Click Apply

If you want to try positions and patterns on sample data first, use the Text Power Tools - Examples Workbook.

For the full add-on tour, read Text Power Tools for Google Sheets. For the product page, screenshots, and install links, see Google Sheets Text Power Tools.

Continue exploring

ProductGoogle Sheets Text Power Tools

Google Sheets Text Power Tools

Text cleaning and transformation - change text case, insert or strip characters, add prefix/suffix, extract emails, URLs, dates
Google Sheets Text Power Tools
Text & Data Conversion
Google Workspace Add-ons
Google Sheets
BlogCover image for How to extract emails, URLs, dates, and regex matches in Google Sheets

How to extract emails, URLs, dates, and regex matches in Google Sheets

Google Sheets Text Power Tools
Google Workspace Add-ons
+2
2 min read
BlogCover image for How to clean messy spreadsheet text in Google Sheets

How to clean messy spreadsheet text in Google Sheets

Google Sheets Text Power Tools
Google Workspace Add-ons
+2
2 min read
BlogCover image for How to fix capitalization and naming styles in Google Sheets

How to fix capitalization and naming styles in Google Sheets

Google Sheets Text Power Tools
Google Workspace Add-ons
+2
2 min read
BlogCover image for Text Power Tools for Google Sheets

Text Power Tools for Google Sheets

Google Sheets Text Power Tools
Google Workspace Add-ons
+2
3 min read
ProductGoogle Sheets Table Converter

Google Sheets Table Converter

Google Sheets add-on for importing and exporting table data as CSV, HTML, Markdown, and JSON
Google Sheets Table Converter
Markdown & Docs
Text & Data Conversion
Google Workspace Add-ons