Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • How to create dynamic reference table name in Excel
  • How to calculate average last N values in a table in Excel
  • Add Outline to Data in Excel
  • How to Create One and Two Variable Data Tables in Excel

References

  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Last row number in range
  • Lookup entire row in Excel
  • How to get first row number in range in Excel
  • Create hyperlink with VLOOKUP in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Data validation must not exist in list
  • How To Create Drop-down List in Excel
  • Excel Data validation allow uppercase only
  • Excel Data validation unique values only

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:   How to count line breaks in cell in Excel worksheet

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 text to numbers using VALUE function 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:   REPLACE, REPLACEB functions: Description, Usage, Syntax, Examples and Explanation

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

Logical Functions

  • Complete List of Excel Logical Functions, References and Examples
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Calculate expiration date in Excel
  • Convert decimal seconds to Excel time
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get last weekday in month in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel
  • Running count group by n size in Excel
  • How to randomly assign data to groups in Excel

General

  • How to create dynamic named range with INDEX in Excel
  • Split Cell Content Using Text to Columns in Excel
  • Delete Blank Rows at Once in Excel
  • Count cells that do not contain many strings in Excel
  • Print Excel Sheet In Landscape Or Portrait
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning