EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Count Characters in Excel
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

Count Characters in Excel

By Jeevan A YJeevan A Y

Count Characters in Excel

Count Characters in Excel (Table of Contents)

  • Count Characters in Excel
  • How to Count Characters in Excel?

Count Characters in Excel

Count Characters in Excel is a commonly used method in Excel, this may be because we have some boundaries in excel, or the user may have limited that some characters should only be entered in the cells. This is why we need to understand how to count the number of characters in a cell. In excel, we can count the characters by using the excel built-in function called LEN (Length)

LEN function is a built-in function in excel that is categorized as String or text. This LEN function is normally used to count the characters, which will return the number of characters in a text string. i.e., length of the specified string.

The syntax for the LEN function:

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Count Characters example 3-10

Text: which is used to calculate length.

How to Count Characters in Excel?

In the following examples, we will see how to count characters in excel.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,685 ratings)
You can download this Count-Characters-Excel-Template here – Count-Characters-Excel-Template

Example #1 – Using LEN Function

Consider the simple example where we have a list of names in this where we need to count the number of characters in each cell which is shown below.

Count Characters example 1-1

We will see how to use the LEN function by following the below steps.

  • To use the function, first, enter the formulation
  • =LEN(text), which is shown in the below screenshot.

Count Characters example 1-2

  • The argument text is nothing but the corresponding data that we need to count
  • Here in our example, apply the formula as =LEN(A1)
  • Press enter so that the output will be displayed as follows.

Count Characters example 1-3

  • As we can see in the above screenshot, we got the output as “4”.
  • Drag down the formula to all cells so that we will get the length of the specified string, which is shown below.

Count Characters example 1-4

In the above screenshot, we can see that for the first name “JOHN,” we got the output as 4, and for the second name “Martin Chapel,” we got the output as 13. We can wonder why we got the output as 13; if we check manually, there are only12 words, but we got the output as 13 because the LEN function counts the spaces also; for this reason, we got the output as 13.

Example # 2 – Using String and Numbers

In the above example, we have seen how to count the character using LEN with only String. In this example, we will see how to count the character with the combination of both string and numbers, which is shown below.

Count Characters example 2-1

In the above screenshot, we can see the raw data contain names along with numbers and string and a combination of both string and numbers. Let’s see how the LEN function works by following the below procedure.

  • First, create a new column as output. Use the Len function as =LEN(cell)
  • In this example, apply the LEN function as =LEN(A2), So that it will return the character count as 4, as shown in the below screenshot.

Count Characters example 2-2

  • Now drag down the formula for all the cells. LEN function count not only the characters; it also counts the numbers and returns the exact count.

Count Characters example 2-3

In the above screenshot, we can see that the LEN function returned the exact count for all set of series as we can see in the 2 rows we have numeric “332-56”, so the LEN function counts each text and returned the output as “6” and at the same time we can see the combination of both string and numbers on cell “A5”. Here too, the LEN function returned the exact count of both strings and numbers.

Example #3 – Using Multiple LEN Function

In this example, we are going to see how to use multiple LEN functions to count the arithmetic operators. Consider the below example, which has a combination of string plus arithmetic operator.

Count Characters example 3-1

In the above example, we can see that two columns have been created; one is for to count the number of text, and another column is to count only the arithmetic operator. In order to differentiate the count of both text and operators, we are going to work on this example.

As we have seen in the above example, the LEN function returns and counts the characters along with the spaces. First, let’s apply the same formula in the B column, which is shown below.

Count Characters example 3-2

The above screenshot shows the Count of characters that we have applied using the LEN function. Assume that we need to count only the arithmetic operators. In these cases, we cannot apply the LEN function because the LEN function will count all the text, including spaces, and return the number of the count for the specific data. In order to find how many operators are there in a specific cell, please follow the below procedure.

Consider the below example, which is shown below.

Example 3-3

First, use the LEN function. On a column, C inserts the LEN function as below.

=LEN(A2)-LEN(SUBSTITUTE(A2,”*”,””))

  • In this LEN formula, we have used the SUBSTITUTE function, which replaces the text with new text in a text string.
  • First, we used the LEN function, which will count the characters – LEN(SUBSTITUTE(OLD TEXT, NEW TEXT), i.e. the old text is nothing but the A2 cell, and the new text is “*” so that it will replace the text with a new string that we have specified in the formula and it returns the output as 2 which is shown below.

Example 3-4

  • Now drag down the formula by specifying the new string.

Example 3-5

  • Now we will get the following result.

Example 3-6

  • The result is as below.

Example 3-7

Example #4 – LEN and SUBSTITUTE Function

In this example, we are going to see how to count specific characters by using the same LEN and SUBSTITUTE function. Consider the below example, which contains the sentence “Amazon Big Billion Days Started. Time to shop online.”

Example 3-8

In the above screenshot, we have used the LEN function to count the number of characters. We got the exact count of characters as 53. Assume that we need to count how many “o” are there in the sentence.

We can use the same LEN and SUBSTITUTE formula to find the exact count by following the below steps.

  • Click on the specific column.
  • Enter then LEN function formula as below
  • =LEN(A9)-LEN(SUBSTITUTE(A9,”o”,””))
  • The above formula describes that we have applied the LEN function to count the character – LEN(SUBSTITUTE(OLD TEXT, NEW TEXT), i.e. the old text is nothing but the A9 cell, and new text is “o” where it counts only the specific text we have mentioned, and we got the output as follows.

Example 3-9

Things to Remember About Count Characters in Excel

  • While using the LEN function, make sure that your blank spaces are not used to avoid confusion.
  • LEN function will count and return all the text whatever we have specified in the data.

Recommended Articles

This is a guide to Count Characters in Excel. Here we discuss how to use the Count Characters in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. COUNTIF Excel Function
  2. Count Names in Excel
  3. Count Formula in Excel
  4. VBA Count
Popular Course in this category
All in One Excel VBA Bundle (120+ Courses)
  120+ Online Courses |  500+ Hours |  Verifiable Certificates |  Lifetime Access
4.9
Price

View Course

Related Courses

Excel Training (23 Courses, 9+ Projects)4.9
Excel Data Analysis Training (17 Courses, 8+ Projects)4.8
Excel for Finance Training (18 Courses, 7+ Projects)4.7
1 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Count-Characters-Excel-Template

EDUCBA

Download Count-Characters-Excel-Template

EDUCBA

डाउनलोड Count-Characters-Excel-Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more