+ Reply to Thread
Results 1 to 5 of 5

Matching duplicates from 2 columns and assigning price from 3rd column.

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Matching duplicates from 2 columns and assigning price from 3rd column.

    Hi,

    I have a list of products in column A, a separate list of products in column C and the prices of the products in column C in column D. (Hope this makes sense so far!!) I need to find the products that appear in both column A and column C and also assign the correct prices from column D. Can this be done? Any advice greatly appreciated.

    Thanks,
    Mark.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Matching duplicates from 2 columns and assigning price from 3rd column.

    Where should the prices of the matched items appear?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Matching duplicates from 2 columns and assigning price from 3rd column.

    In Column E

    =IF(ISNA(VLOOKUP(C2,$A$2:$A$5,1,FALSE)),"",D2). See attached
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Matching duplicates from 2 columns and assigning price from 3rd column.

    Hi
    Please see attached sample worksheet.
    Hope it helps.
    Good luck
    Tony
    PriceCheck2003.xls

  5. #5
    Registered User
    Join Date
    02-29-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Matching duplicates from 2 columns and assigning price from 3rd column.

    Thanks Tony. That is exactly what I was after. Thanks to Ace_XL and arlu1201 aswell. Really appreciate the help guys.

    Thanks,
    Mark.

+ 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