Power Query - Changes From Previous File

blimbert

New Member
Joined
Jan 25, 2005
Messages
21
Hello - I have a lot of saved csv files of open sales orders in a folder that I would like to see the incremental additions and deletions from the previous file.

For example, I can group the total open orders of each file easily enough:
8/1/20 Open Orders: 1,000
9/1/20 Open Orders: 900
10/1/20 Open Orders: 950
10/2/20 Open Orders: 970
10/3/20 Open Orders: 900

However, what I desire to see is:
9/1/20 Open Orders: 900 Change from 8/1/20 100 additions, 200 deletions, Net Change -100
10/1/20 Open Orders: 950 Change from 9/1/20 100 additions, 50 deletions, Net Change +50
10/2/20 Open Orders: 970 Change from 10/1/20 20 additions, 0 deletions, Net Change +20
10/3/20 Open Orders: 900 Change from 10/2/20 30 additions, 100 deletions, Net Change -70

I figured I could easily enough do some various merges to determine the changes from one file to a previous file. However I don't know of an efficient way to get perform a process to determine the changes for each file's previous file?

Thoughts?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,762
Messages
6,174,353
Members
452,557
Latest member
savvaskef

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top