Hi,
Currently we are working in Macro..We have an urgent Requirement. Scenario is
There are three Columuns in our excel sheet.
First column is Acc doc number , Second column is Item Num and Third one is amount
If the below combination exists in the row . Macro should delete the whole row which is having one positive amount and one negative by comparing all the three columns.
Scenario 1:
Acc Doc Num ItemNum Amount
123 1 100
123 1 -100
123 1 100
O/p Needed:
123 1 100
Scenario 2:
Acc Doc Num ItemNum Amount
123 1 -100
123 1 -100
123 1 100
O/p Needed:
123 1 -100
Scenario 3:
Acc Doc Num ItemNum Amount
123 1 -100
123 1 100
O/p Needed:
No row should appear..
Waiting for your valuable inputs.
Bookmarks