aganatra19
New Member
- Joined
- Mar 7, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi there, I am new to this forum and I have a sheet where I would like to filter the information on the second worksheet based on the ID in worksheet 1.
Worksheet 1=
Worksheet 2
what I would like is, when you click on cell P2, it will look at what the Risk ID is in Cell A2 and filter the information from Worksheet 2. however, there are some Risk ID's that will have more than 1 risk ID on it, but i would still like it to show those items too. like if Cell A2 in worksheet 1 has Risk ID of XC19. worksheet 2 will filter the data to show all items that have XC19 (B7,B8,B9,B10).
In addition, as you can see, there is a narrative column too, and new columns will be added after that, based on the month. can the filter be dynamic to ensure it can keep search to the last column and filter it based on that month?
I'd appreciate it if you could also walk me through the code, for future reference to understand how it works, please
Thanks again
A
Worksheet 1=
Worksheet 2
what I would like is, when you click on cell P2, it will look at what the Risk ID is in Cell A2 and filter the information from Worksheet 2. however, there are some Risk ID's that will have more than 1 risk ID on it, but i would still like it to show those items too. like if Cell A2 in worksheet 1 has Risk ID of XC19. worksheet 2 will filter the data to show all items that have XC19 (B7,B8,B9,B10).
In addition, as you can see, there is a narrative column too, and new columns will be added after that, based on the month. can the filter be dynamic to ensure it can keep search to the last column and filter it based on that month?
I'd appreciate it if you could also walk me through the code, for future reference to understand how it works, please
Thanks again
A