Forum Discussion

Brirack77's avatar
Brirack77
Copper Contributor
Dec 07, 2022
Solved

Vertical Data to Horizontal Data for mail merge

Hi, I have a list of employee data in vertical rows with a unique employee number on each row. At the end of each row is the line manager (employee number and name.) I want to pull out a unique list...
  • mathetes's avatar
    Dec 07, 2022

    Brirack77 

     

    If you can work with just the employee names associated with each manager, then the attached shows a way to do that. I will defer to others with more expertise if there is a simple way to get both employee number AND employee name.

     

    This formula gets unique managers: 

    =SORT(UNIQUE(F2:F11))

    And then this lists, horizontally, the employee names with each manager: =TRANSPOSE(FILTER($B$2:$B$11,$F$2:$F$11=J2))

     

     

     

Resources