tarunshrivastava01
New Member
- Joined
- Apr 19, 2014
- Messages
- 1
I am having excel sheet with huge data. I want the vb macros to take out the unique count of Column 'Computer Name' by filtering the column 'Location'. Like:
<tbody>
</tbody>
First it look for India (Column 'Location') and take the unique count for Column 'Computer Name' from row2 to row6 means filtering by India in column 'Location' i.e., Unique count = 3(Desktop1-3) and then look for Column 'Location' China and take the unique count for column 'Computer Name' from row6-row10.
Row1 |
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> | |||||
<colgroup><col width="125"></colgroup><tbody>Row2 </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> | India | ||||||||
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> | India | ||||||||
<colgroup><col width="125"></colgroup><tbody> </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> | India | ||||||||
<colgroup><col width="125"></colgroup><tbody> Row5 </tbody> |
<colgroup><col width="125"></colgroup><tbody> </tbody> | India | ||||||||
Row6 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | India | ||||||||
Row7 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | China | ||||||||
Row8 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | China | ||||||||
Row9 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | China | ||||||||
Row10 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | China | ||||||||
Row11 |
<colgroup><col width="125"></colgroup><tbody> </tbody> | China | ||||||||
Row12 | ||||||||||
Row13 |
<tbody>
</tbody>
First it look for India (Column 'Location') and take the unique count for Column 'Computer Name' from row2 to row6 means filtering by India in column 'Location' i.e., Unique count = 3(Desktop1-3) and then look for Column 'Location' China and take the unique count for column 'Computer Name' from row6-row10.