Solved

Lookup value in table

Posted on 2013-01-21
3
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Database 5 46
question on substitute function 2 27
Modify Array formula - Reduce Calculation Time 4 31
Checking references in VBA 3 24
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

749 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