Feb 08 2022 12:47 AM
Hello All,
I want to copy the values of 2 columns based on a value in a 3rd column. The values should be duplicated based on the value in the 3rd column. The input data and output data are in different sheets. Please see the pictures below. What could be done to automate this process. A VBA Code perhaps?
Thanks
Feb 08 2022 01:14 AM
@AShah16 Consider Power Query (PQ) to do this. Demonstrated in the attached file. The green table is the table loaded by PQ. In this example I loaded it in the same sheet as the blue table but you can load it to another sheet as well.
Feb 08 2022 01:38 AM
Feb 08 2022 01:41 AM
@AShah16 You can write a piece of VBA code that will refresh the query as soon as something in the sheet changes. But VBA isn't my area of expertise. Sorry.