I mean situation like here, but values in dropdowns is not populated dynamically.
For example:
I choose P1, and in second dropdown I see only E1, E2, E3
or
I choose P2 and in second dropdown I see only E1, E2
or
I choose P3 and in second dropdown I see only E2, E3, E4
etc.
These are just examples of how one list is filtered based on the value in the other list
Here is demo: