![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: May 2002
Location: Ipswich, Suffolk, England
Posts: 135
|
I have a list of transactions against various accounts. Is it possible to quickly take out contra entries, e.g those with both a positive and a negative value in the same account.
Help much appreciated as I have thousands of lines |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Apr 2002
Location: Kissimmee, Florida
Posts: 384
|
Quote:
You could do it with code... Search recursively through the accounts, Find all matching accounts Check each value against others if equal and opposite then Mark in new column as Contra (perhaps better than deleting since we like audit trails...and you can always filter them out) loop through values loop through accounts. This will do it but will be slow. If its anything like an accounting system I worked on the system generated a text field for reversals therefore using other fields you may be able to limit the repetitive nature. Anyone have any other ideas? _________________ ![]() [ This Message was edited by: s-o-s on 2002-05-03 08:58 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|