ExcelNewbie2020
Active Member
- Joined
- Dec 3, 2020
- Messages
- 350
- Office Version
- 365
- Platform
- Windows
i have this table
when i search for name and dept. I would like it to filter the column header ( pen,paper,pencil and book) with the respective figures below. and will ignore zero values and empty cells. see expected result.
Name-List-for-Practice.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | ||||||||
2 | Name | Dept | PEN | PAPER | PENCIL | BOOK | ||
3 | Name1 | A | 2 | 8 | ||||
4 | Name2 | B | 0 | 2 | 4 | |||
5 | Name3 | C | 2 | 1 | ||||
6 | Name4 | D | 2 | 0 | 3 | 1 | ||
7 | ||||||||
8 | ||||||||
9 | ||||||||
10 | ||||||||
11 | ||||||||
12 | ||||||||
13 | ||||||||
14 | ||||||||
15 | EXPECTED RESULT | |||||||
16 | Name | Dept | PAPER | BOOK | ||||
17 | Name2 | B | 2 | 4 | ||||
18 | ||||||||
19 | ||||||||
20 | ||||||||
21 | ||||||||
22 | ||||||||
23 | ||||||||
24 | ||||||||
Sheet14 |
when i search for name and dept. I would like it to filter the column header ( pen,paper,pencil and book) with the respective figures below. and will ignore zero values and empty cells. see expected result.