Hi Excel Experts,
I am looking for one small automation macro to filter the data below and need to keep one set of data from the input to the output.
We have three columns below and Col-1 where "Y" is applicable in Col-3 then Col-1 cell value should be base and corresponding Col-2 data should copy against the value. Each corresponding value should paste in the different table (refer the output).
Table 1- Input
Table 2- Output
Let me know if you need further clarification.
Thank you,
I am looking for one small automation macro to filter the data below and need to keep one set of data from the input to the output.
We have three columns below and Col-1 where "Y" is applicable in Col-3 then Col-1 cell value should be base and corresponding Col-2 data should copy against the value. Each corresponding value should paste in the different table (refer the output).
Table 1- Input
Col-1 | Col-2 | Col-3 |
10001 | 10011 | Y |
10011 | 10012 | |
10003 | 10013 | Y |
10012 | 10014 | |
10005 | 10015 | Y |
10014 | 10016 | |
10007 | 10017 | Y |
10016 | 10018 | |
10009 | 10019 | Y |
10018 | 10020 |
Table 2- Output
Output | |
Col-1 | Col-2 |
10001 | 10001 |
10001 | 10011 |
10001 | 10012 |
10001 | 10014 |
10005 | 10015 |
10005 | 10016 |
10005 | 10018 |
10005 | 10020 |
Let me know if you need further clarification.
Thank you,