C
christoph404
Hi,
I'm hoping for some support for the following problem. I simplified
the problem for the sake of this group. So, yes, I know the data
doesn't really make any sense.
I have a table with the following fields:
<Country> <Transportation> <Start Mile> <End Mile> <Rate p. Mile>
So, as an example, here are a few entries in the table:
Country Transp. Start Mile End Mile Rate
France Train 0 6 10.00
France Train 7 11 11.00
France Train 12 9999 12.00
France Car 0 20 13.00
France Car 21 9999 14.00
France Air 0 20 15.00
France Air 21 50 16.00
France Air 51 9999 17.00
UK Train 0 6 18.00
UK Train 7 11 19.00
UK Train 12 9999 20.00
UK Car 0 20 21.00
UK Car 21 9999 22.00
UK Air 0 20 23.00
UK Air 21 50 24.00
UK Air 51 9999 25.00
I know that this is more of a database task but I am unfortunately
bound to Excel. How can I go into this table and look up a <Rate>
value based on a given Country, Transportation and Mileage?
I converted the above to a pivot table but I'm still stuck that the
mileage is a range - from starting miles to end miles. I'd like to go
into the table above and say, look up the rate for "UK", "Air" with
200 Miles. Is that possible in Excel?
Thanks much,
Christoph
I'm hoping for some support for the following problem. I simplified
the problem for the sake of this group. So, yes, I know the data
doesn't really make any sense.
I have a table with the following fields:
<Country> <Transportation> <Start Mile> <End Mile> <Rate p. Mile>
So, as an example, here are a few entries in the table:
Country Transp. Start Mile End Mile Rate
France Train 0 6 10.00
France Train 7 11 11.00
France Train 12 9999 12.00
France Car 0 20 13.00
France Car 21 9999 14.00
France Air 0 20 15.00
France Air 21 50 16.00
France Air 51 9999 17.00
UK Train 0 6 18.00
UK Train 7 11 19.00
UK Train 12 9999 20.00
UK Car 0 20 21.00
UK Car 21 9999 22.00
UK Air 0 20 23.00
UK Air 21 50 24.00
UK Air 51 9999 25.00
I know that this is more of a database task but I am unfortunately
bound to Excel. How can I go into this table and look up a <Rate>
value based on a given Country, Transportation and Mileage?
I converted the above to a pivot table but I'm still stuck that the
mileage is a range - from starting miles to end miles. I'd like to go
into the table above and say, look up the rate for "UK", "Air" with
200 Miles. Is that possible in Excel?
Thanks much,
Christoph