Vlookup formula

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
769
Hi All,

Trying to have a formula do the following

When input cells A5 & B5 match data in columns A&B based on the weight C5 it will return the correct number in Columns N-R

Example

ABE to BDL 1500 21.23


Excel 2012
ABCDEFGHIJKLMNOPQR
1OriginDestWeightWeight1001000300050007500
4
5ABEBDL150021.23
6
7ABEABQ22009004FrMoMoMoTu41.4337.835.9634.1432.34
8ABEALB19009001TuWeThFrMo25.5624.123.1421.9220.7
9ABEATL22008002WeThFrMoMo25.3223.8822.9221.7220.52
10ABEAUS220010003ThFrMoMoMo38.631.5830.6530.1929.26
11ABEBDL19009001TuWeThFrMo22.5121.2320.3819.3518.28
12ABEBHM190010302WeThFrMoMo36.7533.5231.9230.2928.7
13ABEBNA22008002WeThFrMoMo37.2535.1133.6731.8730.07
14ABEBOS190010001TuWeThFrMo22.7321.4420.619.4918.45
15ABEBRL220012003ThFrMoMoMo35.2533.1431.7930.0828.39
16ABEBTR190013002WeThFrMoMo36.1334.0232.6230.8929.15
Linehaul
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Excel Workbook
ABCDEFGHIJKLMNOPQRS
1OriginDestWeightWeight1001000300050007500Min
2
3
4
5ABEBDL150021.23
6
7ABEABQ22009004FrMoMoMoTu41.4337.835.9634.1432.3441.81
8ABEALB19009001TuWeThFrMo25.5624.123.1421.9220.734.83
9ABEATL22008002WeThFrMoMo25.3223.8822.9221.7220.5241.81
10ABEAUS220010003ThFrMoMoMo38.631.5830.6530.1929.2641.81
11ABEBDL19009001TuWeThFrMo22.5121.2320.3819.3518.2834.83
12ABEBHM190010302WeThFrMoMo36.7533.5231.9230.2928.741.81
13ABEBNA22008002WeThFrMoMo37.2535.1133.6731.8730.0741.81
Sheet2
 
Upvote 0
That is awesome, Is it possible to have the input cells on Sheet 1 and have the data on sheet 2?
 
Upvote 0
If you could add another condition, This one the weight is not a condition. If A5 & B5 MATCH it would return the MIN in column S


Excel 2012
ABCDEFGHIJKLMNOPQRS
1OriginDestWeightWeightMin1001000300050007500Min
4
5abebdl130621.2334.83
6
7ABEABQ22009004FrMoMoMoTu41.4337.835.9634.1432.3441.81
8ABEALB19009001TuWeThFrMo25.5624.123.1421.9220.734.83
9ABEATL22008002WeThFrMoMo25.3223.8822.9221.7220.5241.81
10ABEAUS220010003ThFrMoMoMo38.631.5830.6530.1929.2641.81
11ABEBDL19009001TuWeThFrMo22.5121.2320.3819.3518.2834.83
12ABEBHM190010302WeThFrMoMo36.7533.5231.9230.2928.741.81
13ABEBNA22008002WeThFrMoMo37.2535.1133.6731.8730.0741.81
14ABEBOS190010001TuWeThFrMo22.7321.4420.619.4918.4534.83
15ABEBRL220012003ThFrMoMoMo35.2533.1431.7930.0828.3941.81
Linehaul
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top