Lookup in columns and rows, mark match with "X"

  • Hi.


    I've got a list of colleagues and their respective skills (see attached sample spreadsheet, sheet "Current"). The issue is that each employee is listed more than once if it has more than one skill. Instead, I want to transpose the skills column, place it on the top row, and "X"-mark each skill for each employee (see attached sample, sheet "Goal"). I've done this before, but i don't remember. I believe i used a long if/lookup/match-kind of solution.
    current

    nameskillmathphysicssciencecooking
    johnmath
    johnphysics
    johnscience
    ericscience
    ericcooking
    willphysics
    tommath
    tomcooking


    goal

    namemathphysicssciencecooking
    johnxxx
    ericxx
    willx
    tomxx


    Anyone who knows how to do it?


    I'm thankful for any help i can get.


    thanks.


    sam

  • Re: Lookup in columns and rows, mark match with "X"


    this is one approach...put this formula in cell B2 and copy paste


    =IF(SUMPRODUCT(((Current!$A$2:$A$9)=$A2)*((Current!$B$2:$B$9)=B$1))=1,"X"," ")

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!