Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to count the number of uppercase or lowercase letter in cell?

How could you get the number of uppercase or lowercase letters in a cell quickly and easily? This article, I will talk about some quick formulas to count the number of uppercase or lowercase letters only of text strings.

Count the number of uppercase or lowercase letters in cell with formulas


arrow blue right bubble Count the number of uppercase or lowercase letters in cell with formulas


The following formulas can help you to count the uppercase letter or lowercase letters only in a cell, please do as this:

Count the number of uppercase letter in a cell:

Please enter this formula:

=SUMPRODUCT(LEN(A2)-LEN(SUBSTITUTE(A2,CHAR(ROW(INDIRECT("65:90"))),""))) into a blank cell beside your data cell to locate the result, and then drag the fill handle down to the cells where you want to count the uppercase letters, and the number of uppercase letters have been counted at once, see screenshot:

doc count uppercase 1

Count the number of lowercase letter in a cell:

Please enter this formula:

=SUMPRODUCT(LEN(A2)-LEN(SUBSTITUTE(A2,CHAR(ROW(INDIRECT("97:122"))),""))) into a blank cell beside your data, and then drag the fill handle down to the cells where you want to apply this formula, and all lowercase letters of the corresponding cells have been counted as following screenshot shown:

doc count uppercase 2


Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Nik · 7 months ago
    How can I count special characters/symbols please?
    • To post as a guest, your comment is unpublished.
      feed · 5 months ago
      =LEN(I2)-LEN(SUBSTITUTE(I2,".",""))