Imran Azam
Board Regular
- Joined
- Mar 15, 2011
- Messages
- 103
HI Guys
i have the data below
<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>
I want to do a count if , using this logic , count the ID where Group = A, department is not 'sales' and product is not 'tons' or 'ons' ( basically i want to exclude the product ons and tons in the count)
so the answer should be 3
can this be done?
thanks for any help
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
<tbody>
</tbody></body>
i have the data below
group | ID | Department | products |
A | 1 | sales | pc |
A | 2 | marketing | pc |
A | 3 | marketing | ons |
A | 4 | HR | pc |
A | 5 | marketing | tons |
A | 6 | marketing | pc |
B | 7 | sales | pc |
<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>
I want to do a count if , using this logic , count the ID where Group = A, department is not 'sales' and product is not 'tons' or 'ons' ( basically i want to exclude the product ons and tons in the count)
so the answer should be 3
can this be done?
thanks for any help
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
tons |
<tbody>
</tbody>