Dear all
i have a following data,
[TABLE="width: 765"]
<colgroup><col><col><col><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]S No[/TD]
[TD]Date[/TD]
[TD]Supplier[/TD]
[TD]Debit / Credit[/TD]
[TD]BILL NO[/TD]
[TD]Description[/TD]
[TD]Folio[/TD]
[TD]Debit[/TD]
[TD]Credit[/TD]
[TD]each bill balance[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]25-Jun-14[/TD]
[TD]Asif Traders[/TD]
[TD]Credit[/TD]
[TD]33[/TD]
[TD]received bill[/TD]
[TD]11[/TD]
[TD][/TD]
[TD]50000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]25-Jun-14[/TD]
[TD]Asif Traders[/TD]
[TD]Debit[/TD]
[TD]33[/TD]
[TD]payment againts chq no. 1122[/TD]
[TD]12[/TD]
[TD]40000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]05-Jul-14[/TD]
[TD]ABC TRADERS[/TD]
[TD]Credit[/TD]
[TD]55[/TD]
[TD]received bill[/TD]
[TD]22[/TD]
[TD][/TD]
[TD]40000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]05-Jul-14[/TD]
[TD]ABC TRADERS[/TD]
[TD]Debit[/TD]
[TD]56[/TD]
[TD]payment againts chq no. 1124[/TD]
[TD]4[/TD]
[TD]40000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]06-Aug-13[/TD]
[TD]Asif Brother[/TD]
[TD]Credit[/TD]
[TD]345[/TD]
[TD]received bill[/TD]
[TD]56[/TD]
[TD][/TD]
[TD]50000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]06-Aug-13[/TD]
[TD]Asif Brother[/TD]
[TD]Debit[/TD]
[TD]33[/TD]
[TD]payment againts chq no. 1128[/TD]
[TD]22[/TD]
[TD]25000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want the unique list of suppliers (column c), where balance is zero,
means. only need unique list of suppliers where sum of credit-sum of debit of this supplier is zero
the result of this data should be
Asif brother
Asif traders
Please help
thank you
i have a following data,
[TABLE="width: 765"]
<colgroup><col><col><col><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]S No[/TD]
[TD]Date[/TD]
[TD]Supplier[/TD]
[TD]Debit / Credit[/TD]
[TD]BILL NO[/TD]
[TD]Description[/TD]
[TD]Folio[/TD]
[TD]Debit[/TD]
[TD]Credit[/TD]
[TD]each bill balance[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]25-Jun-14[/TD]
[TD]Asif Traders[/TD]
[TD]Credit[/TD]
[TD]33[/TD]
[TD]received bill[/TD]
[TD]11[/TD]
[TD][/TD]
[TD]50000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]25-Jun-14[/TD]
[TD]Asif Traders[/TD]
[TD]Debit[/TD]
[TD]33[/TD]
[TD]payment againts chq no. 1122[/TD]
[TD]12[/TD]
[TD]40000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]05-Jul-14[/TD]
[TD]ABC TRADERS[/TD]
[TD]Credit[/TD]
[TD]55[/TD]
[TD]received bill[/TD]
[TD]22[/TD]
[TD][/TD]
[TD]40000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]05-Jul-14[/TD]
[TD]ABC TRADERS[/TD]
[TD]Debit[/TD]
[TD]56[/TD]
[TD]payment againts chq no. 1124[/TD]
[TD]4[/TD]
[TD]40000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]06-Aug-13[/TD]
[TD]Asif Brother[/TD]
[TD]Credit[/TD]
[TD]345[/TD]
[TD]received bill[/TD]
[TD]56[/TD]
[TD][/TD]
[TD]50000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]06-Aug-13[/TD]
[TD]Asif Brother[/TD]
[TD]Debit[/TD]
[TD]33[/TD]
[TD]payment againts chq no. 1128[/TD]
[TD]22[/TD]
[TD]25000[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want the unique list of suppliers (column c), where balance is zero,
means. only need unique list of suppliers where sum of credit-sum of debit of this supplier is zero
the result of this data should be
Asif brother
Asif traders
Please help
thank you