+ Reply to Thread
Results 1 to 4 of 4

Extract Unique Values From Across Column P2:R10

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Extract Unique Values From Across Column P2:R10

    1. Looking for formula to extract unique values across column P2:R10 into desired output in column S2:W10. Formula should use Head-0 as the pull condition.

    1. Looking for formula to sum the unique values across column P2:R10 into desired output in column X2:X10.

    See attached sample file. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract Unique Values From Across Column P2:R10

    Please try at
    P2:R2
    =IFERROR(INDEX($C2:$O2,AGGREGATE(15,6,COLUMN($C2:$O2)-COLUMN($B2)/(MATCH($C2:$O2,$C2:$O2,)=COLUMN($C2:$O2)-COLUMN($B2)),COLUMNS($P2:P2))),"")

    S2:W2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or S2:W2 with Volatile Indirect
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    X2
    =IF($B1=$B2,X1,COUNTIF(S2:W2,"?*"))
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Extract Unique Values From Across Column P2:R10

    Bo_Ry; Your proposed formula works. However, it is crashing the actual excel workbook because of the large datasets - 52,000 rows. Is there a way for non-array? Thanks a lot.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract Unique Values From Across Column P2:R10

    To find unique value, array calculation is need.

    Try Power Query or VBA instead.

    Power Query
    Please Login or Register  to view this content.
    VBA

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Extract unique values from filtered column
    By Journeyman3000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2020, 09:38 PM
  2. Replies: 3
    Last Post: 07-27-2019, 04:19 AM
  3. extract unique values from single column
    By ajaypal.sp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2018, 02:20 PM
  4. Extract unique values in a column from a table
    By gandreso in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2017, 11:21 AM
  5. Extract unique value from column of consecutive repeated values
    By hamang in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2016, 04:37 AM
  6. [SOLVED] How To: Extract unique values from 3 columns into 1 column.
    By egarcia7 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-24-2016, 12:31 PM
  7. Replies: 2
    Last Post: 02-13-2013, 03:14 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