Combine the COUNTIF and LEFT functions to count cells begin with a certain character in Excel

To count the number of cells which begin with a certain character in Excel, you can combine the COUNTIF and LEFT functions to get it done. Actually there are different kinds of formulas can achieve it. This tutorial will guide you step by step.

Use formulas to count cells begin with a certain character

Supposing you have a text string list as below screenshot shown, now, to count number of cells that begin with the character “K”, please do as follows.

1. Select a blank cell, copy and paste the below formula into it and press the Ctrl + Shift + Enter keys simultaneously to get the result.

=COUNT(IF(LEFT(A2:A6,1)="K",1,""))

Notes:

• 1) A2:A6 is the range contains the text string you will count; 1 means that you will count cells begins with one character; and “K” is the character you will count cells based on. Please change them as you need.
• 2) The below formulas can also help to get it down:
=COUNTIF(A2:A6,"K*")
=SUMPRODUCT(--(LEFT(A2:A6,1)="K"))

An awesome feature to easily count cells begin with a certain character

The Select Specific Cells utility of Kutools for Excel can help to easily count number of cells which begin with a certain character in Excel.

1. Select the range of cells you will count, click Kutools > Select > Select Specific Cells. See screenshot:

2. In the opening Select Specific Cells dialog, you need to:

• 2.1) Select Cell in the Selection type section;
• 2.2) Choose Begins with from the Specific type drop-down list;
• 2.3) Enter the character you will count cells based on into the textbox;
• 2.4) Click OK.

3. Then another Select Specific Cells dialog pops up to tell you how many cells in selected range are beginning with “K”, and at the same time, all qualified cells are selected automatically. Click OK to close the dialog.

If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.

Related articles

Use countif with multiple criteria in Excel
In Excel, COUNTIF function may help us to calculate the number of a certain value in a list. But sometimes, we need to use multiple criteria for counting, this will be more complex, today, I will talk about some items for counting with multiple criteria.

Countif by date/month/year and date range in Excel
Methods in this tutorial will guide you to Countif by date/month/year and date range with formulas in Excel.

Count if cells are start with or end with specific text in Excel
Supposing you have a range of data and you want to count the number of cells which start with “kte” or end with “kte” in a worksheet. Here I introduce some tricks instead of manual counting for you.

Countif a specific value across multiple worksheets
Supposing you have multiple worksheets and want to get the number of occurrence of a specific value “Excel” from theses worksheets. How could I count a specific values across multiple worksheet?

Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |   Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!