+ Reply to Thread
Results 1 to 4 of 4

Finding unique combinations of data

  1. #1
    Forum Contributor
    Join Date
    05-19-2004
    Location
    United States
    MS-Off Ver
    Office XP and Office 2003
    Posts
    127

    Finding unique combinations of data

    I have a spreadsheet where the users can enter data on about 500 of the line items. Some of the data is entered through pick-lists. I have 2 columns of data that is driven by pick-lists in a dialog. I want to allow only up to 10 different unique combinations of those columns within the spreadsheet. Is there a way to automatically count the different combinations and also to find the unique combinations?

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by LAF
    I have a spreadsheet where the users can enter data on about 500 of the line items. Some of the data is entered through pick-lists. I have 2 columns of data that is driven by pick-lists in a dialog. I want to allow only up to 10 different unique combinations of those columns within the spreadsheet. Is there a way to automatically count the different combinations and also to find the unique combinations?
    One way is, in a spare column, put

    =SUMPRODUCT(--(B$1:B$10=B1*(--(C$1:C$10=C1))))

    where B and C denote the two columns to be tested.

    Select that column and use Format, Conditional Format to highlight in red >10, and to highlight in green =1

    does this help?
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Contributor
    Join Date
    05-19-2004
    Location
    United States
    MS-Off Ver
    Office XP and Office 2003
    Posts
    127
    I tried it, but I get a #Value! error.

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by LAF
    I tried it, but I get a #Value! error.
    Can you paste here a copy of the formula that you have, and the first two rows of data.

    ---

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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