Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Freight Calculation

I am preparing a freight sheet calculator for the buyers in the
company. When they put their Origin in sheet 1 and weight I would like
get the calculation from Sheet2 and bring the lowest cost with name of
the forwarder info to the sheet1 with carrier name and total cost. Can
anybody help me?
I do have the following info on Sheet1.
A B C
D
Origin Weight-Kg Forwarder Amount
Ningbo 55 Fedex 229.6


I do have the following info on Sheet2
A B C D
E F
Forwarder Origin 50kg 60kg fee Trucking
DHL Ningbo $3.60 $3.40 $25.00 $0.12
DHL Shanghai $3.50 $3.25 $25.00 $0.12
Fedex Shanghai $3.50 $3.25 $25.00 $0.25
Fedex Ningbo $3.60 $3.40 $25.00 $0.25


Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Freight Calculation

I'm not quite sure what the 50kg and 60kg columns represented, so I set my
formula up based off of the 50kg implying 50 to 60 and 60kg implying 60kg and
above.

In cell G2 on Sheet2, paste this formula and copy it down through G5:

=IF(B2=Sheet1!$A$2,(Sheet1!$B$2*IF(Sheet1!$B$2=60 ,D2,C2))+Sheet2!E2+(Sheet1!$B$2*Sheet2!F2),"")

Then, on Sheet1 in cell C2, the formula (for Forwarder) will be:

=INDEX(Sheet2!$A$2:$G$5,MATCH(MIN(Sheet2!$G$2:$G$5 ),Sheet2!$G$2:$G$5,FALSE),1)

While the formula in D2 (Total Cost) on Sheet1 will be:

=INDEX(Sheet2!$A$2:$G$5,MATCH(MIN(Sheet2!$G$2:$G$5 ),Sheet2!$G$2:$G$5,FALSE),7)

Hope this helps (you can modify the logic for the weights accordingly).

" wrote:

I am preparing a freight sheet calculator for the buyers in the
company. When they put their Origin in sheet 1 and weight I would like
get the calculation from Sheet2 and bring the lowest cost with name of
the forwarder info to the sheet1 with carrier name and total cost. Can
anybody help me?
I do have the following info on Sheet1.
A B C
D
Origin Weight-Kg Forwarder Amount
Ningbo 55 Fedex 229.6


I do have the following info on Sheet2
A B C D
E F
Forwarder Origin 50kg 60kg fee Trucking
DHL Ningbo $3.60 $3.40 $25.00 $0.12
DHL Shanghai $3.50 $3.25 $25.00 $0.12
Fedex Shanghai $3.50 $3.25 $25.00 $0.25
Fedex Ningbo $3.60 $3.40 $25.00 $0.25


Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Freight Calculation

Thank you very much. It worked.

On Jul 31, 1:00 am, BriSwy wrote:
I'm not quite sure what the 50kg and 60kg columns represented, so I set my
formula up based off of the 50kg implying 50 to 60 and 60kg implying 60kg and
above.

In cell G2 on Sheet2, paste this formula and copy it down through G5:

=IF(B2=Sheet1!$A$2,(Sheet1!$B$2*IF(Sheet1!$B$2=60 ,D2,C2))+Sheet2!E2+(Sheet*1!$B$2*Sheet2!F2),"")

Then, on Sheet1 in cell C2, the formula (for Forwarder) will be:

=INDEX(Sheet2!$A$2:$G$5,MATCH(MIN(Sheet2!$G$2:$G$5 ),Sheet2!$G$2:$G$5,FALSE)*,1)

While the formula in D2 (Total Cost) on Sheet1 will be:

=INDEX(Sheet2!$A$2:$G$5,MATCH(MIN(Sheet2!$G$2:$G$5 ),Sheet2!$G$2:$G$5,FALSE)*,7)

Hope this helps (you can modify the logic for the weights accordingly).



" wrote:
I am preparing afreightsheet calculator for the buyers in the
company. When they put their Origin in sheet 1 and weight I would like
get thecalculationfrom Sheet2 and bring the lowest cost with name of
the forwarder info to the sheet1 with carrier name and total cost. Can
anybody help me?
I do have the following info on Sheet1.
A B C
D
Origin Weight-Kg Forwarder Amount
Ningbo 55 Fedex 229.6


I do have the following info on Sheet2
A B C D
E F
Forwarder Origin 50kg 60kg fee Trucking
DHL Ningbo $3.60 $3.40 $25.00 $0.12
DHL Shanghai $3.50 $3.25 $25.00 $0.12
Fedex Shanghai $3.50 $3.25 $25.00 $0.25
Fedex Ningbo $3.60 $3.40 $25.00 $0.25


Thanks- Hide quoted text -


- Show quoted text -



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compute Freight Charge TUNG Excel Worksheet Functions 1 August 5th 10 11:15 PM
freight calculator pturnernz Excel Discussion (Misc queries) 0 September 12th 08 01:52 AM
Need to graph weekly shipments of 3 classes of freight versus plan Paterico Charts and Charting in Excel 0 October 4th 06 05:31 AM
Freight formula tanjal Excel Discussion (Misc queries) 1 September 21st 06 01:50 AM
how to analyze freight expense? boots Excel Worksheet Functions 1 June 25th 05 11:59 PM


All times are GMT +1. The time now is 07:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"