?
Solved

Lookup value in table

Posted on 2013-01-21
3
Medium Priority
?
303 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 1000 total points
ID: 38801144
Try this file using match and lookup and after modifying the weights header
Copy-of-shipping-table.xlsx
0
 
LVL 93

Accepted Solution

by:
Patrick Matthews earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

770 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