Solved

Lookup value in table

Posted on 2013-01-21
3
265 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to With line 4 42
Search for a value in Column? 5 21
Excel 2016 - Black cell borders 11 27
InternetExplorer object in Excel VBA. 4 21
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

920 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

15 Experts available now in Live!

Get 1:1 Help Now