Reputation: 28
I am looking for simple way to combine data in excel sheet. I want to avoid adding rows manually. Could You give me a hint how to do this simple way?
Upvotes: 1
Views: 58
Reputation: 96753
Manually place the headers in H1, I1, and J1. Then in H2 enter:
=INDEX($A$2:$A$9999,ROUNDUP(ROWS($1:1)/(COUNTA(C:C)-1),0))
amd copy downwards. In I2 enter:
=INDEX($C$2:$C$9999,MOD(ROWS($1:1)-1,COUNTA(C:C)-1)+1)
and copy downwards. In J2 enter:
=INDEX($D$2:$D$9999,MOD(ROWS($1:1)-1,COUNTA(D:D)-1)+1)
and copy downwards.
Upvotes: 2