Results 1 to 5 of 5

Thread: Lookup or Match

  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts
    In column A I have over 500 contract names, with many being duplicates, triplicates etc. In column B I have an associated number with each contract (where there are duplicates, triplicates, etc., the same number would be assigned to the same contract). In column C I ran a unique sort on column A and culled the list down to only the unique contract names. What I would like to do in column D is "associate" or list each contract number to the unique list created in column C. Any ideas?

    Thanks in advance.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    You should be able to use VLOOKUP for this.

    In D1: =VLOOKUP(C1,$A$1:$B$550,2,FALSE)

    (adjust the last row 550) and fill down.

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='798551' date='17-Oct-2009 10:13']You should be able to use VLOOKUP for this.

    In D1: =VLOOKUP(C1,$A$1:$B$550,2,FALSE)

    (adjust the last row 550) and fill down.[/quote]

    Thanks Hans. Actually, I was mistaken. column A contains the contract numbers, and column B the names. How would I need to revise the formula?
    Thanks again.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Try

    =INDEX($A$1:$A$550,MATCH(C1,$B$1:$B$550,0))

  5. #5
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='798553' date='17-Oct-2009 10:25']Try

    =INDEX($A$1:$A$550,MATCH(C1,$B$1:$B$550,0))[/quote]

    Thanks Hans-works just fine!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •