Hi all,
Hoping you can help.
I have a 2 variable data table that has 10 rows of data and 8 columns. I have a value that I want to look up in the array and return the lowest value that is greater than or equal to the number that I want to look up. I found a way to do this within a column, but not within an array. I imagine there is a way to do with with index(match(, but I can't seem to figure it out or find an existing thread that addresses this.
I have posted a simplified example in the table below
For this example, the value that I want to look up is 100. The formula I am trying to create should return "Column 1" "Row 2" as the lowest value in the array that is greater than or equal to 100 is 105. For the results, I do not care if "Column 1" "Row 2" are returned in a single cell or in two adjacent cells.
If the lookup value is 107, the result should be "Column 2" "Row 3"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Formula[/TD]
[TD="align: center"]Column 1[/TD]
[TD="align: center"]Column 2[/TD]
[/TR]
[TR]
[TD="align: center"]Row 1[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]106[/TD]
[/TR]
[TR]
[TD="align: center"]Row 2[/TD]
[TD="align: center"]105[/TD]
[TD="align: center"]80[/TD]
[/TR]
[TR]
[TD="align: center"]Row 3[/TD]
[TD="align: center"]88[/TD]
[TD="align: center"]110[/TD]
[/TR]
</tbody>[/TABLE]
Any help is greatly appreciated!
Thanks,
Adam1988
Hoping you can help.
I have a 2 variable data table that has 10 rows of data and 8 columns. I have a value that I want to look up in the array and return the lowest value that is greater than or equal to the number that I want to look up. I found a way to do this within a column, but not within an array. I imagine there is a way to do with with index(match(, but I can't seem to figure it out or find an existing thread that addresses this.
I have posted a simplified example in the table below
For this example, the value that I want to look up is 100. The formula I am trying to create should return "Column 1" "Row 2" as the lowest value in the array that is greater than or equal to 100 is 105. For the results, I do not care if "Column 1" "Row 2" are returned in a single cell or in two adjacent cells.
If the lookup value is 107, the result should be "Column 2" "Row 3"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Formula[/TD]
[TD="align: center"]Column 1[/TD]
[TD="align: center"]Column 2[/TD]
[/TR]
[TR]
[TD="align: center"]Row 1[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]106[/TD]
[/TR]
[TR]
[TD="align: center"]Row 2[/TD]
[TD="align: center"]105[/TD]
[TD="align: center"]80[/TD]
[/TR]
[TR]
[TD="align: center"]Row 3[/TD]
[TD="align: center"]88[/TD]
[TD="align: center"]110[/TD]
[/TR]
</tbody>[/TABLE]
Any help is greatly appreciated!
Thanks,
Adam1988