Forgive me for my noob-ness.
Basically, I have a set of data with debits and credits. Sometimes they will be in pairs, sometimes they won't. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Description[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]Example A[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]Example A[/TD]
[TD]-1000[/TD]
[/TR]
[TR]
[TD]Example B[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]Example B[/TD]
[TD]-200[/TD]
[/TR]
[TR]
[TD]Example C[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]Example C[/TD]
[TD]-50[/TD]
[/TR]
[TR]
[TD]Example C[/TD]
[TD]-50[/TD]
[/TR]
[TR]
[TD]Example D[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]Example D[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]Example D[/TD]
[TD]-40[/TD]
[/TR]
</tbody>[/TABLE]
In this scenario:
- Example A would need to be marked "A" with a red circle (there is one credit of $1000 and one debit of $1000).
- Example B would need to be marked with a "B".
- Example C would need to be marked with a "C". (the 100,-50,-50 sum to 0 for my credit/debits)
-Example D would need to be marked "D".
Does this help?