+ Reply to Thread
Results 1 to 5 of 5

Looking for help counting up unique times cell appears in different reference cells

  1. #1
    Registered User
    Join Date
    08-24-2018
    Location
    CA
    MS-Off Ver
    office 365
    Posts
    2

    Question Looking for help counting up unique times cell appears in different reference cells

    I'm looking for some help in counting the number of times a frequent data point shows up in different line items.

    Here's an idea of what I have:
    Col A Col B
    x Ford
    x Ford
    y GMC
    y GMC
    z Ford
    z Ford
    yy GMC
    xx Ford
    xx Ford
    zz Dodge
    zz Dodge
    a Dodge
    a Dodge
    a Dodge
    dd GMC
    b Ford
    b Ford
    c GMC
    c GMC
    d Dodge

    I'm trying to count up the number of unique times (from Col A) Ford/GMC/Dodge show up so the results look like:
    Ford 4
    GMC 4
    Dodge 3

    I've gotten into some crazy arrays but can't wrap my brain around how to count this up correctly.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Looking for help counting up unique times cell appears in different reference cells

    Hi there. Try this out:

    =SUM(INDEX(($B$2:$B$21=E3)*($A$2:$A$21<>"")/COUNTIFS($B$2:$B$21,$B$2:$B$21&"",$A$2:$A$21,$A$2:$A$21&""),0))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    08-24-2018
    Location
    CA
    MS-Off Ver
    office 365
    Posts
    2

    Re: Looking for help counting up unique times cell appears in different reference cells

    Thank you!!!!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Looking for help counting up unique times cell appears in different reference cells

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,790

    Re: Looking for help counting up unique times cell appears in different reference cells

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 06-15-2015, 02:47 PM
  2. [SOLVED] Counting number of times unique id appears
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-26-2012, 01:06 PM
  3. Replies: 19
    Last Post: 05-26-2011, 04:15 PM
  4. Replies: 4
    Last Post: 02-04-2011, 02:15 PM
  5. Counting number of times a cell reference appears in a 12 month period
    By Alistar3000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2010, 04:52 PM
  6. counting how mant times a date appears in a cell
    By vtek16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2007, 02:40 AM
  7. [SOLVED] Counting the number of times a specific character appears in a cell
    By PCLIVE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2005, 01:15 AM

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