negative to positive matching in a list

vimal01234

New Member
Joined
Oct 8, 2014
Messages
6
There is a situation for which I am looking for a solution


I receive a lot of data in an excel sheet, Let's say in column A and these are receipts(positive amount) and payments(negative amount) and these net to zero except few


I already use a macro which matches positive to negative for example if there is a positive 45.52 then it will match with -45.52, however, the problem arises when a positive match with a combination of data i.e 45.52 will match with 30+10+5.52 or vice-versa

I am looking for a Macro which can identify these combinations of amounts and show these amounts separate or highlight them with a color..which I can later sort accordingly or anything else which will be easier for anyone to identify.


it would be helpful if I can make a macro which is able to solve a situation like this.


Thanks in advance.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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