Hi folks
I have an Excel lookup table that looks something like this
What i need to do is, when I enter a value if an exact match is not found, the next smallest value that is greater than the lookup_value is returned.
e.g. If I enter a lookup value of 15,000 then the value for 25,000 (27.50) should be returned.
the exception to this rule is values above 1,000,000 should return the lookup value for 1,000,000
Thanks in advance
Gary Parker
MIS Data Analyst
Manchester, England
I have an Excel lookup table that looks something like this
Code:
Quantity Cost/000
10,000 30.15
25,000 27.50
50,000 26.66
100,000 26.25
250,000 24.54
500,000 24.01
750,000 23.82
1,000,000 23.71
What i need to do is, when I enter a value if an exact match is not found, the next smallest value that is greater than the lookup_value is returned.
e.g. If I enter a lookup value of 15,000 then the value for 25,000 (27.50) should be returned.
the exception to this rule is values above 1,000,000 should return the lookup value for 1,000,000
Thanks in advance
Gary Parker
MIS Data Analyst
Manchester, England