+ Reply to Thread
Results 1 to 1 of 1

Cascading Data Validation -eliminate duplicates

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    USA
    Posts
    7

    Post Cascading Data Validation -eliminate duplicates

    I've searched but cannot find a way to eliminate duplicates in the second validation column. I've viewed several postings for eliminating duplicates in the first tier of the cascading validation, but I haven't found for the second tier.

    Here is a subset of my data. Columns A through C are my real data. Column F contains unique values in Column A, which will be used to eliminate duplicates in the validation drop down list.
    A B C F
    1 Color Last First Blue
    2 Blue Adams Bill Red
    3 Blue Adams Joe Yellow
    4 Red Smith Keith
    5 Yellow Skaggs Dan

    In a separate area on the same sheet, I have cells with data validation, such as:
    A B C
    10 Blue Adams Bill

    Following is the source info for a list validation:
    A10:=IF(B10="",F1:F3,A10)
    B10:=IF(C10="",OFFSET(A1,MATCH(A10,A1:A5,0)-1,1,COUNTIF(A1:A5,A10),1),B10)
    C10:=OFFSET(B1,MATCH(A10,A1:A5,0)-1+MATCH(B10,OFFSET(A1,MATCH(A10,A1:A5,0)-1,1,COUNTIF(A1:A5,A10),1),0)-1,1,COUNTIF(OFFSET(A1,MATCH(A10,A1:A5,0)-1,1,COUNTIF(A1:A5,A10),1),B10),1)

    This works great to eliminate duplicates in the drop down list in cell A10; however, when I have duplicates in column A & B (such as above in row 2 & 3), I get a duplicate "Adams" in my drop down list. Can anyone help me eliminate this duplication in the second tier of my cascading data validation?

    I've attached the file below which contains this information.

    Thanks, in advance, for your help.
    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. Clear data in cells with validation
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-25-2008, 10:25 AM
  2. Replies: 11
    Last Post: 06-27-2008, 04:39 PM
  3. Extract and summarize from 100 worksheets into one
    By HMIExcel08 in forum Excel General
    Replies: 6
    Last Post: 06-23-2008, 10:08 AM
  4. Data validation - when copied & pasted validation overlooked.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2008, 04:29 PM
  5. scroll bar usage with data validation
    By maacmaac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2008, 12:03 AM

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