+ Reply to Thread
Results 1 to 4 of 4

Function To Count All Strings In Range

  1. #1
    Registered User
    Join Date
    05-27-2015
    Location
    AZ, USA
    MS-Off Ver
    Professional Plus 2010 (V 14.0.7015.1000 (32-bit)
    Posts
    17

    Function To Count All Strings In Range

    I'm looking for a function that would count all of the different occcurrences of different strings within a range. It would go through an input range, cell by cell and, for each unique value it finds, it would count the number of occurrences of that value in the range.

    So, for example, if I were to run it on this range:
    Start.jpg

    I'd get this result:
    Result.jpg

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,109

    Re: Function To Count All Strings In Range

    How about uploading your excel file?

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Function To Count All Strings In Range

    A pivot table would do that in a jiffy. Highlight your data, Insert. . .Pivot Table. ROWS. VALUES(use count of.)

    Pete

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,483

    Re: Function To Count All Strings In Range

    Try with COUNTIF

    =COUNTIF($A$1:$A$6,A8)
    Quang PT

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-02-2018, 12:49 PM
  2. Swap Specific Text Strings in a Range and Indicate new Strings Not already in Code.
    By liquidmettle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-17-2018, 01:31 PM
  3. [SOLVED] Extract unigue phrases from range of strings and count them
    By PaulM100 in forum Excel General
    Replies: 5
    Last Post: 05-17-2018, 10:10 AM
  4. [SOLVED] Replace function missing strings in a merged range?
    By Glitches in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2014, 05:12 AM
  5. VBA function for min, max range in Strings
    By gorelordz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2014, 09:40 PM
  6. Replies: 5
    Last Post: 02-15-2012, 09:57 AM
  7. Custom Function: Count number of strings in range?
    By milz326 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2010, 04:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1