+ Reply to Thread
Results 1 to 2 of 2

Count number of Unique rows with condition A and B of other columns

  1. #1
    Registered User
    Join Date
    04-02-2019
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    1

    Count number of Unique rows with condition A and B of other columns

    Hi guys, I have a problem in counting number of unique rows based on conditions of other columns.

    If you see the image below, this is just an example of the actual table which contains a few hundred of rows. How could I count the number of unique names which have Color blue and size 1? The answer should be 2, but how could I automate the process with formula in excel? Thank you so much for you help!

    Attachment 618418
    Name Color Size
    Alice Blue 1
    Alice Blue 1
    Bob Yellow 2
    Bob Yellow 2
    Bob Yellow 2
    Charles Red 3
    Charles Red 3
    David Blue 1
    David Blue 1
    Edward Blue 3
    Ford Red 1
    Ford Red 1
    Attached Images Attached Images
    Last edited by zbl09; 04-03-2019 at 12:25 AM.

  2. #2
    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,882

    Re: Count number of Unique rows with condition A and B of other columns

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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

+ 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] Count the number of unique items (multiple columns)
    By HJHamm in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-20-2015, 10:41 AM
  2. Need to count number of rows until another specified condition is met.
    By UMBiii in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2014, 02:29 AM
  3. Replies: 4
    Last Post: 07-16-2013, 09:45 AM
  4. Need to Count number of unique rows for desired value
    By peterszabla in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2013, 09:02 PM
  5. Count Once When Several Columns Combined are Unique & a Condition (Help)
    By RBusiness in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2012, 09:54 AM
  6. [SOLVED] Count unique value for each row in a number of Columns
    By rickyilas in forum Excel General
    Replies: 6
    Last Post: 05-23-2012, 09:14 PM
  7. Replies: 2
    Last Post: 01-17-2012, 07:48 AM

Tags for this Thread

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