Hi, I would like to combine two excel sheets into one as follows:
Sheet 1:
Column A: Name
Column B: Role
Sheet 2:
Column A: Role
Column B: T- Code
Sheet after macro:
Column A: Name
Column B: Role
Column C: T-Code
The problem is that 1 Name hase more than 1 roles and one Role has more than 1 T-codes. The number of roles and T-Codes is never the same, so I need to count the number of T-Codes per role and add the number of rows under one name and insert the matching t-codes.
Thanks!
Marketa
Sheet 1:
Column A: Name
Column B: Role
Sheet 2:
Column A: Role
Column B: T- Code
Sheet after macro:
Column A: Name
Column B: Role
Column C: T-Code
The problem is that 1 Name hase more than 1 roles and one Role has more than 1 T-codes. The number of roles and T-Codes is never the same, so I need to count the number of T-Codes per role and add the number of rows under one name and insert the matching t-codes.
Thanks!
Marketa