Does someone have an example of using one lookup table to provide the
range for another lookup table?

PS Is this not easier than my providing all the details of my
situation, most of which are irrelevant to the question?