+ Reply to Thread
Results 1 to 6 of 6

Linking to a column of values, excluding duplicates?

  1. #1
    Registered User
    Join Date
    05-24-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2010
    Posts
    45

    Linking to a column of values, excluding duplicates?

    I have a master list of products and production locations.

    something like

    Product 1 Atlanta
    Product 2 Atlanta
    Product 3 Chicago
    Product 4 Dallas
    Product 5 Dallas

    What I need, is in a seperate worksheet, I need to pull

    Atlanta
    Chicago
    Dallas

    Hoping to do this without any intermediate steps and without needing to run a manual filter. I cannot format the source list.

    Is there any way to pull a list of discrete values from another column?

    like... a super long string of If statements, If A1<>any previous values, return that value... If A2<> any previous values, return that value. Or maybe there is a function that will return the first result of in the column that meets the criteria?

  2. #2
    Registered User
    Join Date
    06-19-2012
    Location
    N/A
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Linking to a column of values, excluding duplicates?

    If a VBA solution is acceptable, maybe this will fit your needs:

    Please Login or Register  to view this content.
    Hope this helps.
    If I have helped, please click the star below.

  3. #3
    Registered User
    Join Date
    05-24-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Linking to a column of values, excluding duplicates?

    its an option. Not ideal since it requires the user to recognize the need to update the list (and knowing is half the battle )

    But I will keep that in the back pocket if no formulaic solution can exist.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Linking to a column of values, excluding duplicates?

    You only need the value below

    Atlanta
    Chicago
    Dallas

    Or you need more information?


    Otherwise copy the collum of the value and paste it in another worksheet.

    Then Data => remove duplicates
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Linking to a column of values, excluding duplicates?

    easy with a helper column,but you don't want that tho do you?
    or try this
    http://www.exceltip.com/st/Retrievin..._List/805.html
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    05-24-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Linking to a column of values, excluding duplicates?

    Quote Originally Posted by martindwilson View Post
    easy with a helper column,but you don't want that tho do you?
    or try this
    http://www.exceltip.com/st/Retrievin..._List/805.html
    Winner!

    This looks like a functional/elegant solution to the problem! Love it.

    Doesnt appear that it even needs an "empty" cell at the top either, I was able to use the column header as its starting cell without an issue.

+ 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