How do I delete positive and negative entries

ghrek

Active Member
Joined
Jul 29, 2005
Messages
427
Hi

First of all posted on here too How do I delete matching entries on 2 sheets.


In the attached workbook I have a difference of £30.35 of which im trying to find out what makes it up.
I think what I need to do is look in column B first and then in column G . If there is a matching positive and negative value in column G and the number in column B is the same for both entries then I need the lines deleting.

If you look at lines 3 &4 there is a negative and a positive £1410.00 and the digits in column B are the same so need them lines deleting. I need this to look all over the workbook and delete matching as required

tuesday .xlsb
ABCDEFGHI
1Recreated DataIssuing Location CodeIssuing TOC / Third Party CodeDate of IssueSundry CodeRSP Period NumberGross Receipt
2Data Recreated2464EK16/09/2021 00:00915946£0.00
3Data Recreated2464EK16/09/2021 00:00950556-£1,410.00
4Data Recreated2464EK16/09/2021 00:00951406£1,410.00
5Data Recreated2466EK06/09/2021 00:00915946£0.00
6Data Recreated2466EK06/09/2021 00:00950556-£139.60
7Data Recreated2466EK06/09/2021 00:00951406£139.60
8Data Recreated2466EK16/09/2021 00:0006-£16.70
9Data Recreated2466EK16/09/2021 00:00915946£0.00
10Data Recreated2466EK16/09/2021 00:00951406£16.70
11Data Recreated2466EK16/09/2021 00:00951626£0.00
12Data Recreated2472EK16/09/2021 00:0006-£135.00
13Data Recreated2472EK16/09/2021 00:00915946£0.00
14Data Recreated2472EK16/09/2021 00:00951406£135.00
15
16
17
Sheet_1_data (1)
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How is this different than what you asked here last week?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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