S
swchee
Dear macro experts:
Hi, I have a workbook with 2 worksheets, S1 and S2.
The content in S1 is
A
B
C
100
and content in S2 is
X
Y
Z
A
B
(1) How do merge these 2 worksheets into a new worksheet in the sam
workbook and display the unique value of S1 and S2, (Union)
expected output, Let say S3 :
100
A
B
C
X
Y
Z
(2) To find the intersection......
expected output, Let say S4 :
A
B
(3) to find the join of two worksheets and indicate the source...
expected output, let say S5:
100 | S1
A
B
C | S1
X | S2
Y |S2
Z | S2
* Question 3 will have 2 columns, the first column indicate the valu
and second column indicate the source file. Since A and B found in bot
S1 and S2, so just leave blank.
Thank you very much for your kind help. Thank
Hi, I have a workbook with 2 worksheets, S1 and S2.
The content in S1 is
A
B
C
100
and content in S2 is
X
Y
Z
A
B
(1) How do merge these 2 worksheets into a new worksheet in the sam
workbook and display the unique value of S1 and S2, (Union)
expected output, Let say S3 :
100
A
B
C
X
Y
Z
(2) To find the intersection......
expected output, Let say S4 :
A
B
(3) to find the join of two worksheets and indicate the source...
expected output, let say S5:
100 | S1
A
B
C | S1
X | S2
Y |S2
Z | S2
* Question 3 will have 2 columns, the first column indicate the valu
and second column indicate the source file. Since A and B found in bot
S1 and S2, so just leave blank.
Thank you very much for your kind help. Thank