There are a few approaches to incremental processes like this - a quick approach given your setup...
First revise boundaries such that the values equate to the last unit of the prior rate, ie:
Then create incremental change rates for each rate in your table (ie the movement from prior rate to current)
Then result can be calculated using:
the above for 12k miles for 1201-1500c would generate 429,109.31
edit: should add, if you really have only two tiers to deal with then a basic SUM construct would suffice - again where A6 is 0 and A7 is 6437
the SUMPRODUCT route is more useful where there are many tiers.
Bookmarks