How to get all the values random rows and write it in order?

Hi Team,

I have a situation wherein I want all the values from random rows and write it in every row.

See Attached file.sample excel path 0

As you can see, from the left portion is the original value that I need to write just like at the right portion.