ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need help to match (https://www.excelbanter.com/excel-worksheet-functions/239405-need-help-match.html)

Copart

Need help to match
 
I am looking to create a formula that will search the table below to find the
corresponding fuel surcharge percentage for the range given.
Example below would be if the fuel charge were $1.73 it would be between
$1.633 (A6) and $1.732 (B6) so the percentage would be 6% (C6).
Thank you.


A B C
From To Fuel surcharge
1 $1.137 $1.235 1%
2 $1.236 $1.334 2%
3 $1.335 $1.434 3%
4 $1.435 $1.533 4%
5 $1.534 $1.632 5%
6 $1.633 $1.732 6%
7 $1.733 $1.831 7%
8 $1.832 $1.930 8%
9 $1.931 $2.029 9%
10 $2.030 $2.130 10%
11 $2.131 $2.230 11%


$1.73 is the charge


Ashish Mathur[_2_]

Need help to match
 
Hi,

Assume that the data is in range A1:C11, you may use the following formula
=vlookup(A13,A1:C11,3) where A13 holds the fuel charge I.e. 1.73

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Copart" wrote in message
...
I am looking to create a formula that will search the table below to find
the
corresponding fuel surcharge percentage for the range given.
Example below would be if the fuel charge were $1.73 it would be between
$1.633 (A6) and $1.732 (B6) so the percentage would be 6% (C6).
Thank you.


A B C
From To Fuel surcharge
1 $1.137 $1.235 1%
2 $1.236 $1.334 2%
3 $1.335 $1.434 3%
4 $1.435 $1.533 4%
5 $1.534 $1.632 5%
6 $1.633 $1.732 6%
7 $1.733 $1.831 7%
8 $1.832 $1.930 8%
9 $1.931 $2.029 9%
10 $2.030 $2.130 10%
11 $2.131 $2.230 11%


$1.73 is the charge



All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com