+ Reply to Thread
Results 1 to 8 of 8

Count number of same type of text in a data range

  1. #1
    Registered User
    Join Date
    09-10-2014
    Location
    uk
    MS-Off Ver
    2010
    Posts
    4

    Count number of same type of text in a data range

    Count number of same type of text in a data range

    i have a number of town names, each has a few entries in a column. I need to count how many is there per each town entry.
    I tried number of unique entries but that return only number of town which i already knew.
    So town names are rugby, coventry and birmingham for example.(except 100's of the entries of different town names) i need the number of entries for rugby, for coventry ....etc

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count number of same type of text in a data range

    Use a Pivot Table, drag the Name column to Row Area, and drag the same column to Summation area. Should give a unique list with a count of each.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,912

    Re: Count number of same type of text in a data range

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    09-10-2014
    Location
    uk
    MS-Off Ver
    2010
    Posts
    4

    Re: Count number of same type of text in a data range

    Are you talking about the areas in pivot table settings? sorry not too familiar with terms in excel

  5. #5
    Registered User
    Join Date
    09-10-2014
    Location
    uk
    MS-Off Ver
    2010
    Posts
    4

    Re: Count number of same type of text in a data range

    i attached a excel sheet as example as i cant send the work one, has sensitive info on
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count number of same type of text in a data range

    See attached.

    First I went to a cell in the range, then went to Insert|Pivot Table..

    Selected to put the table in the active sheet, then click Ok.

    Then in right pane, dragged the town to the Row area, and again in the summation area.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-10-2014
    Location
    uk
    MS-Off Ver
    2010
    Posts
    4

    Re: Count number of same type of text in a data range

    Excellent, eaxctly what i needed thank you very much nbvc expert :-)

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count number of same type of text in a data range

    You are welcome

+ 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. [SOLVED] multiple conditions to count large amount of data by Type, month & activity type
    By norfolk_lass in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2014, 12:54 PM
  2. Count if cell contains text and number range
    By rkemmerich in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2013, 10:07 PM
  3. [SOLVED] Converting text-number to a long data type.
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2012, 07:37 PM
  4. Formula to Count the Number of Occurrences of a Text String in a Range
    By poug1903 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-10-2011, 06:49 AM
  5. Count number of lines of text in a range/value.
    By Jacob in forum Excel General
    Replies: 1
    Last Post: 10-18-2005, 04:05 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