I am trying to get to the value in the fifth column (col.). Each col. before it may have duplicate info. col "a" is spec, "b" is width inches, "c" is length mini inches, "d" is max length inches, and "e" is the vaule I need. I have tried match, index, vlookkup, greater than & less than, if(and, iserror, etc. I realize the answer is a mixture of the above, I just can't figure it out. All help would be appreciated. Example is below.
I have pipe, spec of "Q30", it's width is "47.5 inches", its length is 300 inches. I need to know what order I can apply the pipe to. Row 8 should be the correct one, giving me the vaulue of 123456.
a1: spec b1:width c1: min length d1: max length e1: order
a2: q10 b2: 47.5 c2: 290 d2: 330 e2: 543218
a3: q45 b3: 44.0 c3: 260 d3: 290 e3: 987656
a4: q30 b4: 46.5 c4: 365 d4: 380 e4: 543214
a5: q15 b5: 44.5 c5: 280 d5: 300 e5: 675842
a6: q50 b6: 30.5 c6: 300 d6: 320 e6: 123456
a7: q90 b7: 60.0 c7: 260 d7: 290 e7: 543210
a8: q30 b8: 47.5 c8: 290 d8: 320 e8: 123456
a9: q45 b9: 30.0 c9: 365 d9: 380 e9: 985421
a10: q10 b10: 45.5 c10: 290 d10: 320 e10: 234589
I have pipe, spec of "Q30", it's width is "47.5 inches", its length is 300 inches. I need to know what order I can apply the pipe to. Row 8 should be the correct one, giving me the vaulue of 123456.
a1: spec b1:width c1: min length d1: max length e1: order
a2: q10 b2: 47.5 c2: 290 d2: 330 e2: 543218
a3: q45 b3: 44.0 c3: 260 d3: 290 e3: 987656
a4: q30 b4: 46.5 c4: 365 d4: 380 e4: 543214
a5: q15 b5: 44.5 c5: 280 d5: 300 e5: 675842
a6: q50 b6: 30.5 c6: 300 d6: 320 e6: 123456
a7: q90 b7: 60.0 c7: 260 d7: 290 e7: 543210
a8: q30 b8: 47.5 c8: 290 d8: 320 e8: 123456
a9: q45 b9: 30.0 c9: 365 d9: 380 e9: 985421
a10: q10 b10: 45.5 c10: 290 d10: 320 e10: 234589