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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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