I am been struggling with this super simple lookup that should work with subscripts. As usual, I cannot make heads or tails of the subscript instructions in the manual for my intended use case. I know, it's just me

Inputs: Pressure number [PN16, PN10, PN6, PN4, PN2], outside pipe diameter
Output: Inside pipe diameter I "hard coded" a temporary fix and decided I would have to manually select the pressure number because subscripts are incoherent to work with beyond simple integer outputs for a single variable input. Right now, my model will only take in one pressure number which I have to manually select. This will never be useful for an application, which is my intended goal. Is there any way that I can assign the pressure numbers as the subscripts that will be selected then also input the desired outside diameter number? I tried this as a "selected pressure number" then called the outside diameter (shown) as a LOOKUP EXTRAPOLATE, but that did not work using IF THEN ELSE, subscripts in a variable with lookups as graph, etc.. I should say I tried this for 4 days and it did not work.
At the moment, all the Pressure Number variables are lookups. Each of them have unique values of inside diameter for every input of selected outside diameter.