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

Data Analysis

  • Working With Tables in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How To Filter Data in Excel
  • How to create Gauge Chart in Excel
  • Number and Text Filters Examples in Excel

References

  • To count total rows in a range in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel MATCH Function
  • How to get address of last cell in range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation exists in list
  • Excel Data validation unique values only
  • Excel Data validation only dates between
  • Excel Data validation don’t exceed total

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 total characters in a range 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 feet and inches to inches 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:   LEFT, LEFTB functions: Description, Usage, Syntax, Examples and Explanation

Post navigation

Previous Post:

Put names into proper case — Manipulating NAMES in Excel

Next Post:

Create One-dimensional and Two-dimensional Array

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

  • Nested IF function example in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • Invoice status with nested if in Excel

Date Time

  • How to get number of days, weeks, months or years between two dates in Excel
  • Basic Overtime Calculation Formula in Excel
  • Add workdays no weekends in Excel
  • How to calculate nth day of year in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group numbers with VLOOKUP in Excel
  • Map text to numbers in Excel
  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel
  • How to randomly assign data to groups in Excel

General

  • Subtotal by invoice number in Excel
  • Check if range contains a value not in another range in Excel
  • AutoFit Column Width, AutoFit Row Height in Excel
  • Count cells less than in Excel
  • How to calculate profit margin percentage in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning