Solved

Lookup value in table

Posted on 2013-01-21
3
273 Views
Last Modified: 2013-01-21
Hello Experts,

The attached file has a table with air freight prices.

I'm looking for compact way to look up the correct cost/kg  based on the Airport and Weight.

Thanks!
shipping-table.xlsx
0
Comment
Question by:tomfolinsbee
3 Comments
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 total points
ID: 38801144
Try this file using match and lookup and after modifying the weights header
Copy-of-shipping-table.xlsx
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 250 total points
ID: 38801178
1) In E1:J1, change your weight thresholds to be actual numbers, e.g. -45, 45, 100, 300, 500, 1000

2) Apply the following custom number format to E1:J1 if you still want them to display in kg:

+0.0"kg",-0.0"kg"

3) Use a formula like this to get the shipping rate:

=INDEX(E2:J5,MATCH(O2,C2:C5,0),MATCH(O3,E1:J1))

Sample file attached.
Q-28002736.xlsx
0
 

Author Closing Comment

by:tomfolinsbee
ID: 38803380
Thank you!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now