+ Reply to Thread
Results 1 to 3 of 3

Counting unique text entries by first 3 letters

  1. #1
    Registered User
    Join Date
    06-02-2017
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    5

    Counting unique text entries by first 3 letters

    Hi,

    I'm struggling with some formula to count unique values in a list but then separated out into categories based on the 1st 3 letters of the the entries in a list.

    As an example in column A i have the following:

    abc123
    abc123
    abc123
    abc123
    def456
    def457
    def458
    def459
    ghi123
    ghi123
    ghi123
    ghi123
    abc456
    abc456
    abc456

    i would like 3 separate formulas

    1 to count unique values that start with "abc" - in the example above result should be 2
    1 to count unique values that start with "def" - in the example above result should be 4
    1 to count unique values that start with "ghi" - in the example above result should be 1

    Any help will be greatly appreciated!

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,287

    Re: Counting unique text entries by first 3 letters

    See the attachment.
    formula
    for unique values
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    number of unique values for
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Czeslaw; 01-25-2018 at 02:40 PM.

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Counting unique text entries by first 3 letters

    Sorry for off-topic interjection:

    @Czeslaw

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ 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. Counting unique text entries
    By jacknz in forum Excel General
    Replies: 3
    Last Post: 02-15-2012, 07:10 AM
  2. Counting unique text entries in a filtered list...
    By SOS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2006, 12:31 PM
  3. [SOLVED] Counting Unique text entries in a sheet with a condition
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-04-2005, 07:05 AM
  4. Counting Unique text entries in a sheet with a condition
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 AM
  5. Counting Unique text entries in a sheet with a condition
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. Counting Unique text entries in a sheet with a condition
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. [SOLVED] Counting Unique text entries in a sheet with a condition
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  8. Counting Unique text entries in a sheet with a condition
    By Mike in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-15-2005, 01: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