Matching positive and negative values

Ressa91

New Member
Joined
Apr 2, 2024
Messages
7
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi everyone

I've been given a task where I need to reconcile accounts to find the imbalances. I need to match "pair" positive and negative values that adds up to zero.

I'm looking for a formula that will highlight and move the matches to another sheet, so that I'm only left with duplicates or values that doesn't add up to zero.

See example below

1712052649844.png


Is this something someone here can help me with if possible? The data set is huge and doing manually is time consuming.

Appreciative of the feedback!
Thank you,
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
why is the value in the top row Yellow, and why are the bottom two rows not yellow?
 
Upvote 0
why is the value in the top row Yellow, and why are the bottom two rows not yellow?
everything marked in yellow is the positives and negatives that adds up to zero. the bottom two that isn't highlighted is duplicates as you can see by the reference in column B. I'm looking for a formula that can match the positives and negatives that adds up to zero because doing it manually is very time consuming as per my example (which is 3 different examples of how it adds up to zero).
 
Upvote 0
everything marked in yellow is the positives and negatives that adds up to zero. the bottom two that isn't highlighted is duplicates as you can see by the reference in column B. I'm looking for a formula that can match the positives and negatives that adds up to zero because doing it manually is very time consuming as per my example (which is 3 different examples of how it adds up to zero).
OKay, its beyond my thinking. Maybe someone else will chime in.
 
Upvote 0
How about a macro?
I've written a macro to match positive and negative numbers.
Yes that would be great
Can the macro match positive and negative numbers that aren't identical.
for example

1712073889345.png
 
Upvote 0
Could the macro maybe be adjusted to use column B as a "reference" to matching non identical values that adds up to zero?
What do you mean? Could you show us an example?
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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