I'm trying to come up with a formula to check if a value falls within any set of values in a range. This shows what I would like to display but I need a formula for the "Type" column on the right. The trick is I cant just MIN-MAX the 3 rows because I will be adding more rows in the future; so I really need something that can check between table columns (I'm using a table Type B Min and Max).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Type B Min[/TD]
[TD]Type B Max[/TD]
[TD] [/TD]
[TD]Value[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]5
[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]18[/TD]
[TD][/TD]
[TD]10[/TD]
[TD]n/a[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]28[/TD]
[TD][/TD]
[TD]14[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]21[/TD]
[TD]n/a[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]24[/TD]
[TD]n/a[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for reading!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Type B Min[/TD]
[TD]Type B Max[/TD]
[TD] [/TD]
[TD]Value[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]5
[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]18[/TD]
[TD][/TD]
[TD]10[/TD]
[TD]n/a[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]28[/TD]
[TD][/TD]
[TD]14[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16[/TD]
[TD]Type B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]21[/TD]
[TD]n/a[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]24[/TD]
[TD]n/a[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for reading!