My question is if there is any function in Excel that can solve my problem or if I should go with a programmatical approach.
I've got an Excel sheet with two columns. These columns represent a relationship between the items on the row. We can call it left-right relationship. This is spread on many rows but I want to lay it out in a single row with many columns.
If I got the rows:
123 -- 123A
123B -- 123A
123C -- 123B
I want to create a table which looks like this:
123A -- 123 -- 123B --123C
The fact that 123 doesn't have a direct with 123B is irrelevant, just that they are all related to 123A.
Are there any built-in functions I can use or should I solve this with vba?