This is challenging Paul. Would the following concept do the job?
=FILTER(Table1, INDEX(Table1, 0, H2) = G2)
Sorry but unable to correct the formula. "0" should be the greek symbol theta (Zero with a slash across it.) The intent is to create the filter criteria. It compares the values in the selected column (determined by H2) with the value in G2. Only rows where this comparison is TRUE are included in the filtered result.