+ Reply to Thread
Results 1 to 5 of 5

vlookup and condition? matching employee's skills and Ticket skills

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    Dublin
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question vlookup and condition? matching employee's skills and Ticket skills

    Hi everyone,
    I'm looking for a little bit of help on something that is probably very basic for most of you, and I can't seem to be able to figure out how to approach this.
    I use vlookup frequently, but always just to bring one column from another spreadsheet to the master one where both spreadsheets have one reference point (a ticket number as I work in a tech support organisation).

    We have employees with "skills" listed on a spreadsheet:

    for example:

    Name Expertise
    John French
    John English
    Michael German
    Sandra Spanish
    Sandra French

    When we receive a new ticket, it gets a skills associated and then an employee would work on it (he/she doesn't have to be an expert on it). The exercise here is to add a new column is the ticket spreadsheet and see if there is a skill match between the employee's skills and the ticket skill.


    Ticket Name Expertise of the ticket Match?
    1 John English Yes
    2 Michael English No
    3 Sandra French Yes
    4 John Spanish No

    I'm trying to define a formula for my new match column...Any idea?

    Thanks in advance,
    Yann

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: vlookup and condition? matching employee's skills and Ticket skills

    Hi and welcome to the forum

    I would create a helper column next to the names, combine them, and then use that for the vlookup (you can hide this if you want)....

    A
    B
    C
    1
    Name Expertise
    2
    John French JohnFrench
    3
    John English JohnEnglish
    4
    Michael German MichaelGerman
    5
    Sandra Spanish SandraSpanish
    6
    Sandra French SandraFrench


    C2=A2&B2 copied down.

    Then in D12, copied down...
    =IF(ISERROR(VLOOKUP(B12&C12,$C$2:$C$6,1,0)),"No","Yes")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: vlookup and condition? matching employee's skills and Ticket skills

    We need to make a consolidation btw Name and Skill, then do the match, for instance:

    In Ticket sheet, B2, C2 contains John, English

    In Skill sheet, F2:F4 and G2:G4 contains Name and skills

    =IF(ISNUMBER(MATCH(B2&C2,$F$2:$F$4&$G$2:$G$4,0)),"Yes","No")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Quang PT

  4. #4
    Registered User
    Join Date
    02-10-2014
    Location
    Dublin
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: vlookup and condition? matching employee's skills and Ticket skills

    That worked like a charm, thanks to both of you!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: vlookup and condition? matching employee's skills and Ticket skills

    Happy to help and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Acquiring new skills in VBA ..
    By Vishnu2013 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-24-2013, 02:24 PM
  2. Looking to shake the dust of my Excel skills and old Algebra skills using Excel
    By twolittlehorses4me in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 11-21-2012, 07:05 AM
  3. How did you learn your VBA skills
    By gordonf35 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2012, 07:31 PM
  4. Randomly dispatch list of employee in three groups according to skills
    By nikenis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2012, 03:57 PM
  5. World Skills
    By mostafa_mov in forum Excel General
    Replies: 2
    Last Post: 10-16-2008, 12:48 PM

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