Hi everyone, I'm looking for a combination macro and can't find what I need. Unfortunately I'm also a VBA newbie.
The simplified version goes like this: I have a list of items in rows A and B
A B
x x
y y
z z
And I want the list of all combinations in column C
C
x-x
x-y
x-z
y-x
etc...
the problem is the list of items is unknown in length, and contains about 150 different items.
The full version of the problem is a bit more complex because I want to avoid repetitions. For example
A B
x x
x x
z z
would return
C
x-x
x-z
z-x
z-z
Can anyone help?
Thanks a lot !
The simplified version goes like this: I have a list of items in rows A and B
A B
x x
y y
z z
And I want the list of all combinations in column C
C
x-x
x-y
x-z
y-x
etc...
the problem is the list of items is unknown in length, and contains about 150 different items.
The full version of the problem is a bit more complex because I want to avoid repetitions. For example
A B
x x
x x
z z
would return
C
x-x
x-z
z-x
z-z
Can anyone help?
Thanks a lot !