
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to check if first character in a cell is a letter or number in Excel?
Excel has a bunch of formulas and data analysts use this application to prepare various reports and dashboards. To support that analysis this article will help an excel user to identify all the cells whose values either starts with a number or an alphabet from a collection of dataset. We will identify these cells using the combination of following formulas.
IF function
ISERR function
Left function
Check if first character in a cell is a number or a letter
The following formulas can be used to check if the first character of a cell is number or a letter.
=IF(ISERR(LEFT(cell_location,1)*1),"Letter”, “Number")
In this formula, we are calculating the value of a cell’s left most character multiplied by 1. If the obtained value is not a number then it will return Letter else Number.
=IF(ISNUMBER(VALUE(LEFT(cell_location, 1))),"Number", "Letter")
In this formula, we are calculating the value of left most character of a cell. If the returned value is a number, then it will return TRUE (by default) or as per the defined value (Number in our case).
Step 1 − A sample worksheet has been shown below with some sample data.
Step 2 − Under the column C, the following formula has been used to get the desired result. Enter the formula in a cell and press enter.
=IF(ISERR(LEFT(B2,1)*1),"Letter”, “Number")
Step 3 − Now drag the cell to copy the formula in other cells also to view the output against all cells. Enter the formula in a cell and press enter.
Step 4 − Under the Column D, the following formula has been used to get the desired result.
=IF(ISNUMBER(VALUE(LEFT(B2, 1))),"Number", "Letter")
Step 5 − Now drag the cell to copy the formula in other cells also to view the output against all cells
Formula Syntax Description
Argument | Description |
---|---|
IF(logical_test, {value_if_true},{value_if_false} |
|
LEFT(text, [num_chars]) |
|
ISERR(value) |
|
Conclusion
The start or end character of a cell value can be identified using many other combinations of excel functions. However, these the most used functions for the same. The same functions can be used to identify the cell ending with a number or letter by replacing LEFT from RIGHT.
=IF(ISERR(RIGHT(cell_location,1)*1),"Letter”, “Number")
=IF (ISNUMBER(VALUE(RIGHT(cell_location, 1))),"Number", "Letter")
- Related Articles
- How To Check If The First Letter In A Specific Cell Is Capital In Excel?
- How To Check If Cell Begins Or Ends With A Specific Character In Excel?
- How to check if a given character is a number/letter in Java?
- How to check if a character in a string is a letter in Python?
- Check if input is a number or letter in JavaScript?
- How to change or find and replace first number in cell in Excel?
- How to check if a cell value is between two values in Excel?
- How to check if a cell value match to a list in Excel?
- How To Check If The Number Is A Prime Number In Excel?
- How to get row or column letter of the current cell in Excel?
- How To Check If a Worksheet Or Workbook Is Protected In Excel?
- How to Convert Letter to Number or Vice Versa in Excel?
- Check whether the specified Unicode character is a letter or a decimal digit in C#
- Check If the Rune is a Letter or not in Golang
- How to add a character before each word in a cell in Excel
