Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Count unique text values with criteria
  • Offset in Excel
  • How to get first row number in range in Excel
  • Vlookup Examples in Excel
  • Multi-criteria lookup and transpose in Excel

Data Analysis Examples

  • How to sum a total in multiple Excel tables
  • Remove Duplicates Example in Excel
  • How to count table columns in Excel
  • How To Compare Two Lists in Excel
  • How To Perform and Interpret Regression Analysis in Excel

Data Validation Examples

  • Excel Data validation must contain specific text
  • Excel Data validation with conditional list
  • Excel Data validation whole percentage only
  • Prevent invalid data entering in specific cells
  • Excel Data validation require unique number

Remove first character in a cell in Excel

by

To remove the first character in a cell, you can use the REPLACE function.

Formula

=REPLACE(A1,1,N,"")

Explanation

In the example shown, the formula in D5 is:

=REPLACE(A1,1,1,"")

How this formula works

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 (“”)
Worked Example:   Get first name from full name — Manipulating NAMES in Excel

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:

=REPLACE(A1,1,1,"")

To remove the first N characters from a text value, use the generic form of the formula:

=REPLACE(A1,1,N,"")

where N represents the number of characters to remove.

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:

=REPLACE(A1,1,1,"")+0

The math operation causes Excel to coerce the text to numbers. This only works when the value returned by RIGHT contains just numbers.

Worked Example:   Convert date string to date time in Excel

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:

=RIGHT(text,LEN(text)-N)

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:

=RIGHT(B5,LEN(B5)-C5)

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.

Worked Example:   Excel Data validation must begin with

Post navigation

Previous Post:

Remove last characters from right in a cell in Excel

Next Post:

Remove line breaks in a cell in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to translate letters to numbers in Excel
  • CONCATENATE function: Description, Usage, Syntax, Examples and Explanation
  • Remove text by position in a cell in Excel
  • Split dimensions into three parts in Excel
  • How to strip html from text or numbers in Excel
  • Count day of week between dates in Excel
  • Convert date to text in Excel
  • Get month name from date in Excel
  • Calculate time difference in hours as decimal value in Excel
  • Get date from day number in Excel
  • How to set check register balance in Excel
  • Calculate loan interest in given year in Excel
  • DISC function: Description, Usage, Syntax, Examples and Explanation
  • ODDLYIELD function: Description, Usage, Syntax, Examples and Explanation
  • IRR function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles