+ Reply to Thread
Results 1 to 7 of 7

Find Product Details in Another Sheet based on Product ID and Copy some Fields From there

  1. #1
    Registered User
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Find Product Details in Another Sheet based on Product ID and Copy some Fields From there

    Hi Excel Expert,


    I have a list of products with Product ID and some other fields. I have another excel file which contains same products list with some extra fields which are not in first list.

    The order of product listing is not same in both the list, means Product001 is on 10th row in first list while same product reside on 50th row in second list. I want extra fields to be merged in first product list.

    One solution is that one needs to search for each product id in second list and copy that fields value in first list. The list contains more than 4000 products so this method is time consuming.


    Is it possible to make macro which takes product id from first list search it in second list and copy appropriate fields in first list opposite to the correct product id.


    I am very thankful if some one give me sample macro code or any suggestions.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    Hi kevalkothari,

    I guess this can be achieved using lookup functions.. would suggest you to upload an excel workbook with dummy data. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +91 9810929744
    dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    Thanks for your response.

    I have attached the file with this post. The file contains two product list. Product ID's are common in both the list but the order is not same in both list. I need to copy Field3 and Fields4 from second list to first product list based on product Id.

    Book1.xlsx
    Last edited by Cutter; 08-29-2012 at 10:42 AM. Reason: Removed whole post quote

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    Okay..

    Try using below formula:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached:- Book1.xlsx


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    Thanks dilipandey,

    The code is working for product listing. I appreciate your effort to help me.

    Regards,
    Keval

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    You are welcome Keval..

    Cheers


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find Product Details in Another Sheet based on Product ID and Copy some Fields From th

    @ kevalkothari

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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