muhammad susanto
Well-known Member
- Joined
- Jan 8, 2013
- Messages
- 2,089
- Office Version
- 365
- 2021
- Platform
- Windows
hi all.. how to counting data only "sold" but ignore repeate or duplicate "number document " like this : <style type="text/css"> table.tableizer-table { font-size: 12px; border: 1px solid #CCC ; font-family: Arial, Helvetica, sans-serif; } .tableizer-table td { padding: 4px; margin: 3px; border: 1px solid #CCC ; } .tableizer-table th { background-color: #104E8B ; color: #FFF ; font-weight: bold; } </style> [TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Number Doc[/TH]
[TH]Status[/TH]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Sold
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Sold
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Not Sold[/TD]
[/TR]
</tbody>[/TABLE]
my expected result for count of "sold" is 3
thanks in advance sst
<tbody>[TR="class: tableizer-firstrow"]
[TH]Number Doc[/TH]
[TH]Status[/TH]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Sold
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Sold
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Sold[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Not Sold[/TD]
[/TR]
</tbody>[/TABLE]
my expected result for count of "sold" is 3
thanks in advance sst
Last edited: