If I have a table like this:
1 103 205 309
2 110 254 378
3 178 298 401
and I want to lookup the closest match without going over a value based on the value in the first column and return the column number how can I do this?
For example:
If I want to return the closest match to 140 for values found in the row that has 1 in the first column. The result should be 2.
If I want to return the closest match to 300 for values found in the row that has 2 in the first column. The result should be 3.
- Stinney
Quoting only proves you know how to cut and paste.
1 103 205 309
2 110 254 378
3 178 298 401
and I want to lookup the closest match without going over a value based on the value in the first column and return the column number how can I do this?
For example:
If I want to return the closest match to 140 for values found in the row that has 1 in the first column. The result should be 2.
If I want to return the closest match to 300 for values found in the row that has 2 in the first column. The result should be 3.
- Stinney
Quoting only proves you know how to cut and paste.