Remove matching rows with pause function

DK4700

New Member
Joined
Jul 21, 2022
Messages
6
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a user asking for help to make the following job more automatic. I have tried both via Power Query and simple macros, but I can't seem to find a solution making sense.

He has two lists containing the company payments - one is exported from the bank, the other one is exported from Economics. In theory these lists should match 1:1- his job is to find discrepancies. Both lists contain an amount and a date to steer from - but the dates are only 90 % similar in between the two datasets... payment date (from bank file) / transaction date (from economics file) are not always the same but the order of transactions usually is.

There is no key to match data 1:1.

Today he copies the two data set to the same sheet. Bank data in A:H and Economics data in L:AB. Then he sorts each list by date and then amount.
Then creates formula in column J ($E1-$Z1) to subtract the amounts in same row - if this results in 0 - he assumes it's a match between the two lists.

Best case will be a template, where he manually will copy in the two datasets. And the following are then automatised:
  • Sorting data set 1 by column A, then E,
  • Sorting data set 2 by column N, then Z.
  • Now rows are removed from the top if $E1-$Z1=0, stopping at the first row <> 0.
Then he can do some changes in the file (e.g. manually delete lines, and then restart to automatically delete the rows where $E1-$Z1 = 0 until next time an <>0 might occur.​

Does this make sense at all in simple text? If so, any thoughts/solutions how to help?

Thanks,
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
It will be better if you supplied a sample worksheet of 8-12 records using XL2BB and then mock up what your expected results for the sample will look like. No pictures as we cannot manipulate data in a picture.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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