Remove first character
This formula uses the REPLACE function to replace the first character in a cell with an empty string (""). The arguments for REPLACE are configured as follows:
- old_text is the original value from column B
- start_num is hardcoded as the number 1
- num_chars comes from column C
- new_text is entered as an empty string ("")
The behavior or REPLACE is automatic. With these inputs, the REPLACE function replaces the first character in B5 with an empty string and returns the result.
Removing N characters
To always remove just the first character, simply hardcode both the start number and number of characters like this:
To remove the first N characters from a text value, use the generic form of the formula:
where N represents the number of characters to remove.
With RIGHT and LEFT
You can also use the RIGHT, LEFT, and LEN functions to remove the first character from a cell. The general form of the formula is:
where N is the number of characters to remove. In this formula, the RIGHT function is used to extract characters from the right, up to (but not including), the characters being removed from the left. In the example shown, the formula in D5 would be:
The LEN function returns the number of characters in cell B5, from which the value in C5 is subtracted. The result is used by RIGHT to extract the correct number of characters from the RIGHT.
Getting a numeric value
The formulas above will always return text, even when the result contains numbers only. To get a numeric result, you can add zero like this:
The math operation causes Excel to coerce the text to numbers. This only works when the value returned by RIGHT contains just numbers.