J
Jim Palmer
I need some assistance with a lookup.
In the following example
Vendor Plateau Percentage
8976 0 0.00%
8976 200,000 0.50%
8976 500,000 0.75%
8976 750,000 1.00%
8976 1,000,000 1.50%
9540 0 0.00%
9540 200,000 0.50%
9540 500,000 0.75%
9540 750,000 1.00%
9540 1,000,000 1.50%
9795 0 0.00%
9795 200,000 0.50%
9795 500,000 0.75%
9795 750,000 1.00%
If vendor number is9540 and amount is $375,000 I want to return 0.50%
(that is we bought more than $200,000 but less than $500,000)
That is, I would like to vary the range that vlookup refers to. I ca
use match to determine the first occurence of 9540 is on row 6 and th
last is on row 10. I'd like to use that information to tell th
vlookup to look for 375,000 in the range c 6 to d 10.
Note the number of plateaus will vary. One vendor may have only 2 o
three rows while another may have six or eight.
Any assistance would be appreciated.
Best regards
Jim Palme
In the following example
Vendor Plateau Percentage
8976 0 0.00%
8976 200,000 0.50%
8976 500,000 0.75%
8976 750,000 1.00%
8976 1,000,000 1.50%
9540 0 0.00%
9540 200,000 0.50%
9540 500,000 0.75%
9540 750,000 1.00%
9540 1,000,000 1.50%
9795 0 0.00%
9795 200,000 0.50%
9795 500,000 0.75%
9795 750,000 1.00%
If vendor number is9540 and amount is $375,000 I want to return 0.50%
(that is we bought more than $200,000 but less than $500,000)
That is, I would like to vary the range that vlookup refers to. I ca
use match to determine the first occurence of 9540 is on row 6 and th
last is on row 10. I'd like to use that information to tell th
vlookup to look for 375,000 in the range c 6 to d 10.
Note the number of plateaus will vary. One vendor may have only 2 o
three rows while another may have six or eight.
Any assistance would be appreciated.
Best regards
Jim Palme