Basically, what I need is a 32 line to 5 line (binary) multiplexer.Is there an IC (or two) that will do this for me?
you can cascade a number of 4051s to give you any number of inputs.
So that's 5 lines to select the input and one data line = 6 pins. Correct?
1 pin to select one chip or the other
Mail order will probably incur more shipping charges than the value of the parts