You don't specify if your reference table is stored anywhere physically in your workbook... below is an example with the ranges stored in a static array within the formula itself...
=LOOKUP(SUM(F12,F14:F15),{0,250001,500001,750001,1000001,1250001,1500001,1750001,2000001,2500001},{100,125,325,450,490,528,561,595,634,672})
The static vectors can be stored in a range of cells... eg were:
0 to 2500001 values stored in Y1:Y10
and corresponding values:
100 to 672 stored in Z1:Z10
the above would become:
=LOOKUP(SUM(F12,F14:F15),Y1:Y10,Z1:Z10)
Obviously it's a lot easier to alter the associated values if they reside within an actual range and the formulae is a lot simpler to follow.
EDIT: royUK, Code tags used because forum software will (as advised) insert a spurious space not present within the formula itself.
Bookmarks