Forum Discussion
Aladdin_Ajaj
Dec 19, 2022Copper Contributor
Automatically pull data from excel table to another based on criteria
I'm working on excel table that has currency exchange data for multiple currencies and multiple filters to specify the the operations, I would like to keep the excel table as it is for daily use of d...
- Dec 19, 2022
I would use Power Query as well. In the attached file you can enter data in the blue dynamic table. Then you can click in any cell of the green table and right-click with the mouse. Then select refresh.
The layout in the screenshot is for illustration. The green table can be draged to the right and then thousands of rows can be added to the blue table.
OliverScheurich
Dec 19, 2022Gold Contributor
In the worksheet with the green table you can follow the steps shown in the screenshot to start the Power Query Editor.
In the Power Query Editor you can click on any of the applied steps and view the changes of the data.
Some of the applied steps have a gear icon on the right. An example is highlighted in the below screenshot. You can click on the gear icon to view the applied rule.
Aladdin_Ajaj
Dec 19, 2022Copper Contributor
Thank you for your precious details.
If I want to add columns for the blue table would it harm the syntax of green table?
Because I still need to add date, name, place, and notice columns that already associated with my original data
If I want to add columns for the blue table would it harm the syntax of green table?
Because I still need to add date, name, place, and notice columns that already associated with my original data
- OliverScheurichDec 19, 2022Gold Contributor
You can add columns to the blue dynamic table as well. The syntax of the green table won't be harmed. Only the order of the columns could be different in the green table. This can be corrected with simple changes in the Editor.
In the attached file i added columns date, name, place and notice on the right side of the table. Within the Power Query Editor i've arranged the columns accordingly. After each refresh the order of the columns in both tables is the same.
- Aladdin_AjajDec 19, 2022Copper ContributorThank you so much
I applied same steps you've done in the excel file and I managed to create what I wished for.
I appreciate your time and effort.
Thank you