Need help with macro..
A J C S V M
- - - - - - -
A 2 0 0 0 0
A 0 0 7 0 0
B 0 3 0 0 0
B 0 0 0 5 0
C 0 0 0 0 7
Above is a simple table in Sheet 1. The first column 'A' shows activity A, B, and C. The other columns show names of people involve in one of the activities. For instance, person J has completed 2% of activity A. Person S has completed 7% also of activity A.
What is the macro to create a new filtered table in a new sheet (i.e. Sheet 2)? For example, I want to filter only activity A. I run the macro, it displays the following in Sheet 2:
A J
A S
The same goes to if I want to filter only B. The macro displays the following:
B C
B V
The new filtered table only contains two columns as shown. One for activity column. One for people's column.
Any response and help is greatly appreciated. Many thanks
A J C S V M
- - - - - - -
A 2 0 0 0 0
A 0 0 7 0 0
B 0 3 0 0 0
B 0 0 0 5 0
C 0 0 0 0 7
Above is a simple table in Sheet 1. The first column 'A' shows activity A, B, and C. The other columns show names of people involve in one of the activities. For instance, person J has completed 2% of activity A. Person S has completed 7% also of activity A.
What is the macro to create a new filtered table in a new sheet (i.e. Sheet 2)? For example, I want to filter only activity A. I run the macro, it displays the following in Sheet 2:
A J
A S
The same goes to if I want to filter only B. The macro displays the following:
B C
B V
The new filtered table only contains two columns as shown. One for activity column. One for people's column.
Any response and help is greatly appreciated. Many thanks