=LOOKUP(A1,{1,1000,2000,5000,10000},{0.18,0.16,0.13,0.1,0.09})
Vaya con Dios,
Chuck, CABGx3
> I am looking for a formula that allows the spreadsheet to look in a range of
> weights, selects the proper weight range and returns the corresponding rate
[quoted text clipped - 4 lines]
> 0-999 1,000-1,999 2,000-4,999 5,000-9,999 + 10,000
> $0.1829 $0.1568 $0.1318 $0.1023 $0.0925
Dustin - 27 Nov 2006 17:31 GMT
> =LOOKUP(A1,{1,1000,2000,5000,10000},{0.18,0.16,0.13,0.1,0.09})
>
[quoted text clipped - 9 lines]
> > 0-999 1,000-1,999 2,000-4,999 5,000-9,999 + 10,000
> > $0.1829 $0.1568 $0.1318 $0.1023 $0.0925
lets say your data is arrange like this (in general format)
A B C D
E
1 0 1000 2000 5000 10000
2 0.1829 0.1568 0.1318 0.1023 0.0925
and your lookup criteria is on A4 : a number equal or greater than 0
and your lookup formula on A5 : =LOOKUP(A4,A1:E1,A2:E2)
happy holiday
> I am looking for a formula that allows the spreadsheet to look in a range of
> weights, selects the proper weight range and returns the corresponding rate
[quoted text clipped - 4 lines]
> 0-999 1,000-1,999 2,000-4,999 5,000-9,999 + 10,000
> $0.1829 $0.1568 $0.1318 $0.1023 $0.0925