Results 1 to 2 of 2

Thread: How to create macros in Excel that scan data from second sheet

  1. #1
    Join Date
    Dec 2011
    Posts
    64

    How to create macros in Excel that scan data from second sheet

    Hi friends recently I was trying to create the Excel macros so that I can solve this query, I have 2 sheets in the excel file. On the first sheet the first column is a part num only. The second sheet has part num on the first column and descriptions on the second column. I need a macro or script that will scan the second sheet for part num that matches the first sheet part num and populate the description (at the second column) on the first excel sheet. So if you guys have any information then please let me know. Your reply will be appreciated.

  2. #2
    Join Date
    Mar 2011
    Posts
    542

    Re: How to create macros in Excel that scan data from second sheet

    According to my information there is One way that Assuming the reference data is in Sheet2, cols A and B, col A = part#, col B = description In Sheet1. With col A containing part# in A2 down, you have to Put in B2: =IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"",VLOOKUP(A2,She et2!A:B,2,0)) then you have to Copy down the Col B will return the descriptions corresponding to the part# in col A. Unmatched part#s will return blanks: ""

Similar Threads

  1. excel spread sheet data transfer help
    By elijah58 in forum Software Development
    Replies: 2
    Last Post: 29-08-2012, 04:24 PM
  2. Replies: 2
    Last Post: 23-02-2012, 05:55 PM
  3. How to add data in Excel when sheet protection is activated
    By Lanka Boy in forum Microsoft Project
    Replies: 2
    Last Post: 08-01-2012, 09:14 PM
  4. Parsing data in Excel Sheet
    By Ossi in forum Windows Software
    Replies: 4
    Last Post: 04-02-2011, 07:55 AM
  5. Identifying common data in an excel sheet
    By Hebrew in forum Windows Software
    Replies: 5
    Last Post: 25-12-2009, 06:57 PM

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
  •  
Page generated in 1,714,240,758.56023 seconds with 17 queries