Remove Opposite Values

greekblogosfaira

New Member
Joined
Aug 18, 2016
Messages
1
I have the following data and I would like to remove opposite values "rows".

For example using the following data, rows 1 and 2 should be removed since they have the same description and exactly the same but opposite values.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Num[/TD]
[TD]Reference[/TD]
[TD]Description[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]Test[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]Test[/TD]
[TD]-50[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]3[/TD]
[TD]Test[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4[/TD]
[TD]Test[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]
 
Hi,

In your sample data and stated criteria, rows 2 & 3 could be removed instead of rows 1 & 2. Could you provide a better explanation of what your requirements are.

igold
 
Upvote 0

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