Hi there,
I have the following data stored in different worksheets as shown below.
The format of the data shown in sheet below is divided by '|' where it represents a cell divider.
Sheet1
-------
A | B | C
ClassA | ClassB | ClassC
Sheet2
-------
A | B
ClassA | Student01
ClassA | Student02
ClassB | Student01
ClassC | Student02
ClassC | Student03
ClassC | Student04
Sheet3 - Final Output
-------
A | B | C
ClassA | ClassB | ClassC
Student01 | Student01 | Student02
Student02 | | Student03
| | Student04
Sheet3 = check if there is a match between Sheet1 and Sheet2, if there is, then use Sheet1 as a header (ClassA, ClassB, ClassC) and paste the matched data under the respective header.
Appreciate if anyone could help or advice on what is the best way to achieve the output shown in Sheet3? I guess, there could be a way to do it via a formula or something else.
I'm totally new with excel formula/macros/programming, so would really appreciate if anybody could help me on this.
I've also attached a sample data in the attachment file for your references.
Thanks a lot in advance.
- Blue
Bookmarks