Hi,
Would really appreciate your help in getting the vba code for below.
I have two columns (Key col 1 & 2) with data. Every row in "key col 1" needs to generate one entry row with two columns (doesn't really matter where, it can start output on "C2") for each value in "Key col 2", like in table below.
I've tried to make some different for next and for each statements, but my main issue I think is I suck.
Thanks and regards
Staffan
Would really appreciate your help in getting the vba code for below.
I have two columns (Key col 1 & 2) with data. Every row in "key col 1" needs to generate one entry row with two columns (doesn't really matter where, it can start output on "C2") for each value in "Key col 2", like in table below.
I've tried to make some different for next and for each statements, but my main issue I think is I suck.
Key col 1 | Key col 2 | VBA output col 1 | VBA output col 1 |
1 | a | 1 | a |
2 | b | 1 | b |
c | 1 | c | |
2 | a | ||
2 | b | ||
2 | c |
Thanks and regards
Staffan