Remove First 3 Characters in Excel — Free Formula Generator | SheetMaster

Removes the specified number of characters from the beginning of a text string.

Generated Formula
=RIGHT(A2, LEN(A2) - 3)

Learning Resources

Want to master Excel? Check out this Top-Rated Course.

How to Remove First 3 Characters in Excel: Step-by-Step Guide

Stripping unwanted characters from the start of a cell is one of the most common data cleaning tasks in Excel. Whether you are dealing with product codes (e.g. "SKU-12345"), phone numbers with country codes, or imported CSV data with prefix junk, Excel offers three reliable methods to remove the first N characters.

Method 1: RIGHT + LEN (Most Popular)

The most intuitive and widely-used approach:

  1. Identify your target cell — e.g. A2 contains "SKU-12345".
  2. Apply the formula: =RIGHT(A2, LEN(A2) - 3) removes the first 3 characters.
  3. Drag down to apply to all cells in your column.

Why it works: LEN(A2) counts the total length. Subtracting N gives RIGHT the exact number of trailing characters to keep. Change "3" to any number of characters you need to strip.

Pro Tip: For truly dynamic stripping, put N in a separate cell (e.g. D1) and use =RIGHT(A2, LEN(A2) - D1). Update D1 once and all formulas recalculate automatically.

Method 2: MID (More Forgiving)

If you find RIGHT + LEN confusing, MID offers a more natural "start at character X" syntax:

  • =MID(A2, 4, LEN(A2)) — starts at the 4th character, keeping everything after it.
  • Replace the "4" with N+1 (where N is the number of characters to remove). For N=3, start at position 4.

Method 3: REPLACE (One-Step)

For removing a known prefix string (not a fixed character count), use REPLACE:

  • =REPLACE(A2, 1, 3, "") — replaces the first 3 characters with an empty string.
  • This is simpler than RIGHT+LEN when you always remove the same fixed count.

Method Comparison Table

Method Formula (remove first 3) Best For Excel & Sheets
RIGHT + LEN =RIGHT(A2,LEN(A2)-3) Variable-length text, most common ✅ Both
MID =MID(A2,4,LEN(A2)) Users who prefer "start position" logic ✅ Both
REPLACE =REPLACE(A2,1,3,"") Fixed character count, simplest syntax ✅ Both
LEFT + LEN (last N) =LEFT(A2,LEN(A2)-3) Removing from the end instead ✅ Both

Real-World Use Cases

  • Cleaning product codes: Remove prefix "SKU-" from "SKU-12345" → =RIGHT(A2,LEN(A2)-4).
  • Phone numbers: Strip country code "+1" from "+15551234567" → =RIGHT(A2,LEN(A2)-2).
  • CSV imports: Remove quote character or "#" prefix from imported data.
  • Serial numbers: Drop fixed-length batch prefix from part numbers.
  • Date formatting cleanup: Strip leading zeros or prefixes from imported date strings.

Variable N — One Formula for Any Strip Length

Instead of hard-coding the number, store it in a cell reference:

=RIGHT(A2, LEN(A2) - D1)

Where D1 contains the number of characters to remove (e.g. 3, 5, 7). Update D1 once and every formula using it recalculates. This is especially powerful when processing datasets with varying prefix lengths.

Edge Cases & How to Handle Them

  • N is larger than text length: RIGHT returns empty. Wrap with =IF(LEN(A2)<=3, A2, RIGHT(A2,LEN(A2)-3)) to return the original value unchanged.
  • Cell contains a number (not text): LEN still works, but if you get #VALUE!, wrap with =RIGHT(TEXT(A2,"@"), LEN(TEXT(A2,"@"))-3).
  • Whitespace differences: Use TRIM before stripping: =RIGHT(TRIM(A2), LEN(TRIM(A2))-3) to avoid off-by-one errors from trailing spaces.
  • Empty cells: RIGHT returns empty. Use =IF(A2="", "", RIGHT(A2,LEN(A2)-3)) to keep your output clean.

Common Errors & Fixes

  • #VALUE! or wrong length after RIGHT/LEN

    Causes:
    • Cell contains a number; LEN still works but formula may be mixed with dates.
    • N larger than LEN(text) returns empty.
    Fixes:
    • Wrap source in TEXT if needed: TEXT(A2,"@").
    • Use MAX(0,LEN(A2)-N) inside RIGHT if N can exceed length in edge cases.

Frequently Asked Questions

How do I remove the first 3 characters in Excel?

=RIGHT(A2,LEN(A2)-3) removes exactly three characters from the left of the text in A2. You can change 3 to any number of characters you want to remove.

How do I remove the first 2 characters in Excel?

Use =RIGHT(A2,LEN(A2)-2) to remove the first 2 characters. This is commonly used to strip country codes from phone numbers or remove prefix characters.

How do I remove last N characters instead?

Use LEFT with LEN: =LEFT(A2,LEN(A2)-N). For example, =LEFT(A2,LEN(A2)-3) removes the last 3 characters from a text string.

What if the cell has fewer than 3 characters?

If the text is shorter than the number of characters you want to remove, RIGHT returns an empty string. Use =IF(LEN(A2)<=3, A2, RIGHT(A2,LEN(A2)-3)) to handle this edge case.

Can I remove the first N characters in Google Sheets?

Yes, the same formulas work in Google Sheets. You can also use =MID(A2,4,999) to skip the first 3 characters, or =REGEXREPLACE(A2,"^. {3}","") for a regex approach.

What is the fastest way to remove the first 3 characters from a column of data?

Use the formula =RIGHT(A2,LEN(A2)-3) and drag it down the column. For bulk operations on thousands of rows, this is the most efficient method. Alternatively, use Power Query for non-destructive editing.

How do I remove the first 3 characters from a cell if it has fewer than 3 characters?

Use a protective formula: =IF(LEN(A2)<=3, A2, RIGHT(A2,LEN(A2)-3)). This returns the original value if the text is 3 characters or shorter, preventing errors.

Can I remove the first N characters dynamically (not just 3)?

Yes. Replace the hardcoded 3 with a cell reference: =RIGHT(A2,LEN(A2)-B1) where B1 contains the number of characters to remove. This makes the formula reusable for any N value.

Related Formulas

Explore related formula generators to solve similar problems

Want to become an Excel Pro?

Stop searching for formulas. Master Excel in 30 days with this top-rated course.

Learn More