We're going to need some more details here about what you mean by "loop and link between these columns."
Can you share a mocked up example of the table you have and what you want as a result?