+ Reply to Thread
Results 1 to 5 of 5

How do I import data from another sheet to match certain criteria?

  1. #1
    Registered User
    Join Date
    02-23-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    How do I import data from another sheet to match certain criteria?

    I need to take the data from column C (‘Audit Code’) in Sheet Y and import it to match the employee in column C on sheet X (‘Name’). The final result should look like sheet Z

    • Each ‘Audit Code’ is assigned to a specific Employee Name
    • There are hundreds of names and not all names will be used every time

    Thanks for your assistance. This is my first post on any type of forum. I appreciate your patience.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: How do I import data from another sheet to match certain criteria?

    slight adaptation of a code I posted a short while ago, think this does as you wish

    =INDEX(AuditCodeImpList,MATCH(B2&C2,INDEX('Sheet Y'!$A$2:$A$35&'Sheet Y'!$B$2:$B$35,,),0))

    My assumption is that an employee, employee number and audit code will always stay the same.

    I also named the range C2:C35 on sheet Y AuditCodeImpList for ease of eye
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  3. #3
    Registered User
    Join Date
    02-23-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How do I import data from another sheet to match certain criteria?

    Thank you for your assistance. I really appreciate it. Can you give me a little more detail on where I should place the formula and any other novice advice of this issue?

    Your are correct that the employee, employee number and audit codes will remain the same.

  4. #4
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: How do I import data from another sheet to match certain criteria?

    Not able to access a pc right now, on a phone I'm afraid. First off do this on sheet y C2:C35 on sheet Y highlight these cells, and in the name box type tthe following hen press enter AuditCodeImpList

    In sheet Y where you require the Audit column, paste in the formula from above directly beneath Audit then copy down as far as you need it.

  5. #5
    Registered User
    Join Date
    02-23-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How do I import data from another sheet to match certain criteria?

    Thank you so much, scottylad2! You are my "hero of the week"! Have a great day!!

+ 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