Hi
I have two datasets, I'm looking to build Iterative Macro, where expected output should pick from right to left column
h1 | h2 | h3 | h4 |
product1 | |||
product2 | |||
product3 | sub1 | ||
product4 | sub2 | ||
product5 | sub3 | sub_1_1 | |
product6 | sub4 | sub_1_2 | sub_2_1 |
h | mapped |
sub_2_1 | a |
sub_1_2 | b |
sub_1_1 | d |
sub2 | f |
sub4 | k |
sub3 | m |
sub1 | o |
Expected Output:
h1 | h2 | h3 | h4 | m |
product1 | ||||
product2 | ||||
product3 | sub1 | o | ||
product4 | sub2 | f | ||
product5 | sub3 | sub_1_1 | d | |
product6 | sub4 | sub_1_2 | sub_2_1 | a |
Solved! Go to Solution.
Hey @BRRLL99,
Your expected Output is just a join between column h1 of the main table and h in the second one - why do you need an iterative macro for this?
I want my expected output in iterative macro
because I have multiple columns
I think you don't have to use iterative macro even if there are a number of columns
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |