jtmarsh123
New Member
- Joined
- Jun 15, 2015
- Messages
- 4
Good morning everyone,
I have gone through several forums and tried several VB codes but I just can't get the VB code to work.
Problem:
I am trying to filter a table based on a drop down selection.
example:
I have a drop down list in cell B1 with the following options - Sales A, Sales B, Sales C
I have a table/range A5:F14
<tbody>
</tbody>
When I select an input from the drop down list in B1 - I would like the above table to filter on D5 (Sales) and display the results.
Can anyone please assist?
Kindest regards,
Jtmarsh
I have gone through several forums and tried several VB codes but I just can't get the VB code to work.
Problem:
I am trying to filter a table based on a drop down selection.
example:
I have a drop down list in cell B1 with the following options - Sales A, Sales B, Sales C
I have a table/range A5:F14
Ref | C1 | C2 | Sales | Size | Product |
1 | 100 | 101 | Sales A | 2 | A |
2 | 200 | 102 | Sales B | 4 | B |
3 | 300 | 103 | Sales C | 6 | C |
4 | 400 | 104 | Sales A | 8 | A |
5 | 500 | 105 | Sales B | 10 | B |
6 | 600 | 106 | Sales C | 12 | C |
7 | 700 | 107 | Sales A | 14 | A |
8 | 800 | 108 | Sales C | 16 | C |
9 | 900 | 109 | Sales B | 18 | B |
<tbody>
</tbody>
When I select an input from the drop down list in B1 - I would like the above table to filter on D5 (Sales) and display the results.
Can anyone please assist?
Kindest regards,
Jtmarsh