Log in  \/ 
x
or
x
x
Register  \/ 
x

or

Kutools for Excel 22.00 HOT

300+ Powerful Features You Must Have in Excel

Kutools-for-Excel

Kutools for Excel is a powerful add-in that frees you from performing time-consuming operations in Excel, such as combine sheets quickly, merge cells without losing data, paste to only visible cells, count cells by color and so on. 300+ powerful features / functions for Excel 2019, 2016, 2013, 2010, 2007 or Office 365!

Read More Download Buy now

Office Tab 14.00HOT

Adding Tabbed Interface for Office

Office Tab

It enables tabbed browsing, editing, and managing of Microsoft Office applications. You can open multiple documents / files in a single tabbed window, such as using the browser IE 8/9/10, Firefox, and Google Chrome. It's compatible with Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365. Demo

Read More Download Buy now

Kutools for Outlook 13.00NEW

100+ Powerful Features for Outlook

Kutools-for-Outlook

Kutools for Outlook is a powerful add-in that frees you from time-consuming operations which majority of Outlook users has to perform daily! It can save your time from using Microsoft Outlook 2019, 2016, 2013, 2010 or Office 365!

Read More Download Buy now

Kutools for Word  9.00NEW

100+ Powerful Features for Word

Kutools-for-Word

Kutools for Word is a powerful add-in that frees you from time-consuming operations which majority of Word users have to perform daily! It can save your time from using Microsoft Word / Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365!

Read More Download Buy now

Classic Menu for Office

Bringing Back Your Familiar Menus

Restores the old look and menus of Office 2003 to Microsoft Office 2019, 2016, 2013, 2010, 2007 or Office 365. Don’t lose time in finding commands on the new Ribbon. Easy to deploy to all computers in enterprises and organizations.

Read More Download Buy now

How to count comma separated values in a single cell in Excel?

If cell content is separated by comma in a single cell, such as “A1, A2, A3, A4, A5”, and you want to count the total number of comma separated values in this cell, what can you do? In this case, the total comma separated values should be 5. In this article, we will show you two methods of counting comma separated values in a single cell in Excel.

Count comma separated values in a single cell with formula
Easily count comma separated values in a single cell with an amazing tool

More tutorials for counting in Excel


Count comma separated values in a single cell with formula

Take the data in below screenshot as an example, please do as follows to count comma separated values in each cell of range B3:B7.

1. Select a blank cell to output the result.

2. Type the below formula into it and press the Enter key. Selec the result cell and then drag its Fill Handle down to get all results.

=LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1),",",""))+1


Easily count comma separated values in a single cell with an amazing tool

With the Count the number of cells separated by comma utility of Kutools for Excel, you can easily count comma separated values in a cell in Excel without applying formula manually.

Before applying Kutools for Excel, please download and install it firstly.

1. Select a blank cell to output the result.

2. Go to the Kutools tab, click Formula Helper > Formula Helper.

3. In the Formulas Helper dialog box, please configure as follows.

  • Find and select Count the number of values separated by comma in the Choose a formula box;
    Tip: you can check the Filter box, type in certain words to filter the formula names.
  • In the Cell box, select the cell in which you want to count comma separated values;
  • Click the OK button. See screenshot:

4. Now the result is populated into the selected cell. Select this result cell, and then drag its Fill Handle down to get other results. See screenshot:

  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:

Count Duplicate Values In A Column In Excel
If you have a list of data in a worksheet with unique values and duplicate values, and you do not only want to count the frequency of duplicate values but also want to know the order of the occurrence of the duplicate values. The methods in this article can do you a favor.

Count Number Of Cells With Text Or Number In Excel
For example you have a worksheet mix with texts and numbers, and you want to count the total cell numbers of texts and numbers separately, what would you do? In Excel, you can use formula to achieve this. Please browse this tutorial for more details.

Count If Cell Contains Text Or Part Of Text In Excel
Supposing you have the below data, and want to count the number of cells which contain the text "Apple", number of cells contain the text "Orange" and cells contain "Peach" separately, how to get it done? In this tutorial, we explains the COUNTIF function in detail to help you quickly count the number of cells if they contain text or part of specific text in Excel. Besides, we introduce an awesome feature to acheive it easily with only clicks.

Count Number Of Cells Between Two Values Or Dates In Excel
If you need to count cell numbers that contain specific values between two numbers or dates, the formula of the CountIf function can quickly help you. In this tutorial, we will show you details of counting number of cells that between two values or dates in Excel.


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest
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.
    Shandoo · 2 years ago
    This worked great for me but i had to edit formula for Office 2016. (TRIM(A1),",","")) replaced with (TRIM(A1);",";""))
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Dear Shandoo,

      Thank you for your supplement!
  • To post as a guest, your comment is unpublished.
    vikas · 3 years ago
    i have comma separated values in cells like
    A=1,2,3,4,5,6
    B=3,4,5,6,7,8
    I want to add the contents of the two cells without repeating the value and also want to get the common value of two cells
    expected result = 1,2,3,4,5,6,7,8
    =3,4,5,6

    i am not getting the exact formula in microsoft excel 2013
    Kindly help me

    Thanks
    • To post as a guest, your comment is unpublished.
      shikhar · 3 years ago
      have you found out the way to achieve this? i am looking for exactly the same thing.
      thanks
      • To post as a guest, your comment is unpublished.
        tamesh · 2 years ago
        i too looking for the same
  • To post as a guest, your comment is unpublished.
    James55 · 4 years ago
    What if some of the cells underneath are blank? When using the fill handle on the rest of the cells it's coming up with 1 as the total.
    • To post as a guest, your comment is unpublished.
      Steve · 3 years ago
      Hello James55, don't know if you ever got an answer but in case you need one. Use an IF statement to check if the cell is blank and then print a "0" or null "" whichever you like.

      =IF(A1="","0",(LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1),",",""))+"1"))
      • To post as a guest, your comment is unpublished.
        bambang · 1 years ago
        Great share info

Feature Tutorials