Subtract Letters from a Word in Excel: 3 Ways
In this article
To subtract letters from a word in Excel, you need to remove specific characters or a substring from a text string. Excel doesn't have a built-in "subtract text" function, but you can achieve it using formulas like SUBSTITUTE, REPLACE, or LEFT/RIGHT/MID combined with LEN and FIND. The method you choose depends on whether you want to remove a specific letter everywhere, remove a known substring, or strip a fixed number of characters from the start or end. This guide covers the most common scenarios with step-by-step instructions.
What You'll Need
- Microsoft Excel (2016, 2019, 365, or any recent version that supports standard formulas).
- A worksheet with the text you want to modify, either typed directly or in cells.
- Basic familiarity with entering formulas in Excel (typing
=and selecting cells).
Step-by-Step
Method 1: Remove a Specific Letter Everywhere (SUBSTITUTE)
- Identify the word and the letter to remove. For example, you have "banana" in cell A1 and want to remove all "a" letters, resulting in "bnn".
- Click an empty cell where you want the result, say B1.
- Enter the formula:
=SUBSTITUTE(A1, "a", ""). This replaces every instance of "a" with nothing. - Press Enter. The result "bnn" appears. Drag the fill handle down if you have multiple words in column A.
- To make it case-insensitive (remove both "a" and "A"), use:
=SUBSTITUTE(SUBSTITUTE(A1, "a", ""), "A", "").
Method 2: Remove a Known Substring (SUBSTITUTE with specific text)
- Suppose you have "applepie" in A1 and want to remove "pie" to get "apple".
- In B1, enter:
=SUBSTITUTE(A1, "pie", ""). This removes all occurrences of "pie". - If the substring appears multiple times and you only want to remove the first occurrence, use the fourth argument:
=SUBSTITUTE(A1, "pie", "", 1). The number 1 means replace only the first instance. - Press Enter and copy down as needed.
Method 3: Remove a Fixed Number of Characters from the Start or End
- To remove the first N characters (e.g., first 3 letters from "abcdef" to get "def"), use
=RIGHT(A1, LEN(A1)-3). - To remove the last N characters (e.g., last 2 from "abcdef" to get "abcd"), use
=LEFT(A1, LEN(A1)-2). - To remove characters from the middle, use
REPLACE. For example, remove 2 characters starting at position 3 from "abcdef" (removes "cd") to get "abef":=REPLACE(A1, 3, 2, ""). - If the position varies but you know the delimiter, combine with
FIND. For instance, remove everything before the first hyphen:=MID(A1, FIND("-", A1)+1, LEN(A1)).
Common Mistakes
- Forgetting that SUBSTITUTE is case-sensitive. It will not remove "A" if you only specify "a". Use nested SUBSTITUTE for both cases.
- Using REPLACE with wrong start_num. The start_num is 1-based, not 0-based. Position 1 is the first character.
- Not accounting for spaces. If your text has leading/trailing spaces, they are characters too. Use TRIM first if needed.
- Assuming SUBSTITUTE removes only the first instance by default. It removes all instances unless you specify the instance number.
- Using LEN on a cell with numbers. LEN works on text, but if the cell is numeric, Excel may convert it to text in the formula, which is fine, but be aware of formatting.
Tips
- Use a helper column to keep the original text intact and show the result in a new column.
- Combine with TRIM to remove extra spaces after substitution:
=TRIM(SUBSTITUTE(A1, "a", "")). - For multiple letters to remove, nest SUBSTITUTE functions:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1, "a", ""), "e", ""), "i", ""). - Use wildcards in SUBSTITUTE? No, SUBSTITUTE does not support wildcards. For pattern-based removal, you'd need more advanced methods like VBA or Power Query.
- If you need to remove letters based on a list, consider using a loop in VBA or Power Query, but for simple cases, nested SUBSTITUTE is enough.
Troubleshooting
If the formula returns #VALUE! – This usually means you have a syntax error. Check that you have matched parentheses and quoted text correctly. For example, =SUBSTITUTE(A1, "a", "") is correct, but =SUBSTITUTE(A1, a, "") (missing quotes) will fail.
If the result is not what you expect – Check for hidden spaces or non-breaking spaces. Use =CODE(MID(A1,1,1)) to see the character code. A space is 32. If you see 160, it's a non-breaking space; use SUBSTITUTE(A1, CHAR(160), "") to remove it.
If SUBSTITUTE removes too many characters – Remember it removes all occurrences. If you only want to remove the first, add the instance number argument.
If the formula works but the result is not updating – Check if calculation is set to manual. Press F9 to recalculate, or go to Formulas > Calculation Options > Automatic.
If you need to remove letters from multiple cells at once – Enter the formula in the first cell, then double-click the fill handle (the small square at the bottom-right of the cell) to copy down automatically.
Frequently Asked Questions
Can I remove letters from a word using Find & Replace?
Yes, you can use Find & Replace (Ctrl+H) to replace a specific letter with nothing. But this modifies the original data directly, and it's not dynamic. For a formula-based approach, use SUBSTITUTE.
How do I remove the first letter from every word in a column?
Use =RIGHT(A1, LEN(A1)-1) in a new column. This removes the first character from the text in A1.
Is there a way to remove letters that appear multiple times but keep the first one?
Yes, use SUBSTITUTE with the instance number. For example, =SUBSTITUTE(A1, "a", "", 2) removes the second occurrence of "a" only.
Can I subtract letters from a word in Excel Online?
Yes, all these formulas work in Excel Online (the web version) as well, since they are standard functions.
What if I want to remove all vowels from a word?
Nest SUBSTITUTE for each vowel: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"a",""),"e",""),"i",""),"o",""),"u",""). This removes lowercase vowels; add uppercase if needed.
How do I remove characters after a specific symbol, like a hyphen?
Use =LEFT(A1, FIND("-", A1)-1) to keep everything before the first hyphen. To remove everything before the hyphen, use =MID(A1, FIND("-", A1)+1, LEN(A1)).