I'm doing some homework on excel and I've came across a little problem. I have a list of companies transactions (not a real companies) and there seems to be a little problem with the books. The companies didn't write what was a credit and what was a mistake. How to fin what is a mistake is simple. Credit= negative amount on top so a credit would be
-3,179.00 $ 120(account number)
41,684.88 $ 240(account number)
87.50 $ 320(account number)
3,495.75 $ 460(account number)
And a mistake would have
3,179.00 $ 120 (account number)
(-3,179.00 $) 120 (account number) <------- a correction
A correction under but with the same account and the same amount (not always right after, sometimes further)
(-507.50 $) 320(account number) <------------- a credit
41,684.88 $ 240 (account number)
87.50 $ 320(account number)
3,495.75 $ 460(account number)
My question is, is there a a formula to calculate
if the amount above is positive is there an equivalent negative amount with the same amount somewhere in the list and it cancels its self out and a counter that restarts
Basically i need a way to have all the negatives (corresponding amount and corresponding account) that come before the debits count as "credit" and have all the other negatives that come after be marked as "mistake"
-3,179.00 $ 120(account number)
41,684.88 $ 240(account number)
87.50 $ 320(account number)
3,495.75 $ 460(account number)
And a mistake would have
3,179.00 $ 120 (account number)
(-3,179.00 $) 120 (account number) <------- a correction
A correction under but with the same account and the same amount (not always right after, sometimes further)
(-507.50 $) 320(account number) <------------- a credit
41,684.88 $ 240 (account number)
87.50 $ 320(account number)
3,495.75 $ 460(account number)
My question is, is there a a formula to calculate
if the amount above is positive is there an equivalent negative amount with the same amount somewhere in the list and it cancels its self out and a counter that restarts
Basically i need a way to have all the negatives (corresponding amount and corresponding account) that come before the debits count as "credit" and have all the other negatives that come after be marked as "mistake"