I'm not sure what you mean exactly, but you can devise logic to do more complicated things than just the basic multiplexing we saw today. You can create a device that takes two separate addresses as input and then puts the state on one of the input lines through to the output for whatever address condition you want. You could design this using the truth table method.