I have one sheet that looks similar to this:
I would like a formula that will allow me to provide a value from row 1, then remove all blank rows and give me column A and the corresponding column to my selection. Note that values in column A may sometimes be duplicates. Here are some examples of what results might look like:



