1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Counting unique values across an array

Discussion in 'Ask an Excel Question' started by e119687, Jan 11, 2019.

  1. e119687

    e119687 New Member

    Messages:
    16
    I work with serialized parts. When something goes wrong with a group of parts, I must list all the affected serial numbers. There are several different things that can go wrong so in a single sheet, I list the problem and then the affected serial numbers.

    I need to be able to look across the entire population of data and retrieve a count of the number of unique serial numbers.

    Spread sheet attached.

    Any help that can be provided would be greatly appreciated.

    Attached Files:

  2. e119687

    e119687 New Member

    Messages:
    16
    As an addendum to this post, if the result could also include a number of instances a given SN is present in the array that would also be beneficial.
  3. bosco_yip

    bosco_yip Excel Ninja

    Messages:
    2,105
    Maybe,

    =SUMPRODUCT((B2:CQ25<>"")/COUNTIF(B2:CQ25,B2:CQ25&""))

    Regards
    Bosco
    Thomas Kuriakose likes this.
  4. e119687

    e119687 New Member

    Messages:
    16

    Absolutely fantastic!
    Thank you so much.

Share This Page