+ Reply to Thread
Results 1 to 4 of 4

Single Cell Formula to get unique count from 1 column based on 4 other columns

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    35

    Red face Single Cell Formula to get unique count from 1 column based on 4 other columns

    Hi,

    I have a set of data where Columns B thru E contain records that repeats many times - each time they are repeated with a unique ID.

    I need a single cell formula that will look at the criteria provided and then give me the number of unique ID's (in Column A) that are associated to my criteria.

    More details are in my attached file.

    Any help would be highly appreciated...….you guys are awesome!!!

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Single Cell Formula to get unique count from 1 column based on 4 other columns

    Try this:

    =SUM(IF((B3:$B$28524=H5)*(C3:$C$28524=I5)*(D3:$D$28524=J5)*(E3:$E$28524=K5),
    1/COUNTIFS(A3:$A$28524,A3:$A$28524,B3:$B$28524,H5,C3:$C$28524,I5,D3:$D$28524,J5,E3:$E$28524,K5)))

    Enter with Ctrl+Shift+Enter.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Single Cell Formula to get unique count from 1 column based on 4 other columns

    Try:

    Please Login or Register  to view this content.
    Array formula, confirmed with Ctrl-shift-enter.
    Attached Files Attached Files
    Quang PT

  4. #4
    Registered User
    Join Date
    06-14-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Single Cell Formula to get unique count from 1 column based on 4 other columns

    Fantastic!! thanks guys....it worked like a charm thank you SOO MUCH!!!

+ 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. Extracting Unique List From Multiple Columns Based on Single-Column Criteria
    By Hellogiraffe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2019, 04:55 PM
  2. Replies: 3
    Last Post: 09-18-2018, 06:49 PM
  3. Replies: 3
    Last Post: 08-24-2017, 05:59 AM
  4. Replies: 11
    Last Post: 04-25-2017, 12:01 PM
  5. Replies: 2
    Last Post: 06-16-2016, 08:09 PM
  6. [SOLVED] Listing unique values, based on matching two other columns in a single cell
    By bsamson05 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2016, 03:36 PM
  7. [SOLVED] Count Unique Items in a Column Based on Unique Items in Two Other Columns
    By HangMan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-31-2015, 04:48 PM

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