Easily done with Power Query/Get and Transform found on the Data Tab of the Ribbon.
I have constructed a table of Values in Sheet1.
Sheet2 is a duplicate of the Values.
Make any changes to Sheet1 and then click on Refresh All on the Data Tab and Sheet2 is updated.
Here is the Mcode for the actions taken
Review PQ
In the attached file
Click on any cell in the new table
On the Data Tab, click on Queries & Connections
In the right window, double click to open Query
Review PQ steps
M-code basics:
- "let" is the start of a query
- "in" is the closing of a query
- each transformation step sits in between those 2 lines
- each step line is ended by a comma, except the last one
- "Source" is always the first step (Source Data)
- After "in" you have the last step referenced
Bookmarks