Hi. I would like to use a excel formula to resolve this problem.
Column C is the anwser I pretend.
In the same cell it will return the name of the correct range.
Ex: Between 200 and 300 there are numbers involved that are included in Range 1 and Range 2 (see second table)
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Cell[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Result: (How to return this value?)[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]200[/TD]
[TD]300[/TD]
[TD]Range1, Range2[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]301[/TD]
[TD]400[/TD]
[TD]N/A[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]401[/TD]
[TD]500[/TD]
[TD]N/A[/TD]
[/TR]
</tbody>[/TABLE]
Table to Check Value to Return:
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Cell[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]120[/TD]
[TD]280[/TD]
[TD]Range 1[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]281[/TD]
[TD]300[/TD]
[TD]Range 2[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]600[/TD]
[TD]650[/TD]
[TD]Range 3[/TD]
[/TR]
</tbody>[/TABLE]
Thank you.
Best regards
Column C is the anwser I pretend.
In the same cell it will return the name of the correct range.
Ex: Between 200 and 300 there are numbers involved that are included in Range 1 and Range 2 (see second table)
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Cell[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Result: (How to return this value?)[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]200[/TD]
[TD]300[/TD]
[TD]Range1, Range2[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]301[/TD]
[TD]400[/TD]
[TD]N/A[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]401[/TD]
[TD]500[/TD]
[TD]N/A[/TD]
[/TR]
</tbody>[/TABLE]
Table to Check Value to Return:
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Cell[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]120[/TD]
[TD]280[/TD]
[TD]Range 1[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]281[/TD]
[TD]300[/TD]
[TD]Range 2[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]600[/TD]
[TD]650[/TD]
[TD]Range 3[/TD]
[/TR]
</tbody>[/TABLE]
Thank you.
Best regards