Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default Formula to link a few cell to Calculate

Hi,

Could anyone help me.
Table of different country freight cost.
A standard template to calculate the actual total cost.
If I entered 100 and Origin Italy it will auto take 100*0.65*2.1=136.5 as
formula
136.5 is higher than 40 so it is OK.
If the ans is 39 it should use 40 as min.
The Fuel and security also convert according as show below

Table
Airport Dest Currency Origin Min -45 +45 +100 +500
ABC SIN USD USA 35 0.36 0.31 0.27 0.26
Rate 1.45
Fuel USD 0.55/kg
Security USD 0.17/kg

Airport Dest Currency Origin Min -45 +45 +100 +500
EFG SIN EUR Italy 40 0.55 0.66 0.65 0.64
Rate 2.1
Fuel EUR 0.45/kg
Security EUR 0.20/kg

Airport Dest Currency Origin Min -45 +45 +100 +500
HIJ SIN AUD Aust 40 0.55 0.40 0.39 0.38
Rate 1.1
Fuel AUD 0.35/kg
Security AUD 0.25/kg

Template
Origin Italy
Airport Description Rate Comment
Eur Port to Port 136.5 (100*0.65*2.1)
SIN Agency Fee 45
SIN Delivery Charge 30
SIN DO Fee 60
SIN Permit Fee 60
SIN Wharfage 60
EUR Fuel 115.5 (0.55*100*2.1)
EUR Security 35.7 ( 0.17*100*2.1)
SIN Total 542.70

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Formula to link a few cell to Calculate

Hi Sky,

=if(100*0.65*2.1<40,40,100*0.65*2.1) will work for the first example. You
can modify it for the others.

If you think of the commas in the formula as IF-THEN-OTHERWISE statements
you get:

IF 100 x .65 x 2.1 is less than 40, THEN 40, OTHERWISE 100 x .65 x 2.1

You can set any part to reference another cell. If you put 100 in cell a1
you can make the formula:

=if(A1*0.65*2.1<40,40,A1*0.65*2.1) This will give the same answer.

Then you can change the value of cell A1 to whatever you wish. Same with the
0.65 part.

Hope this helps.

Squeaky

"Sky" wrote:

Hi,

Could anyone help me.
Table of different country freight cost.
A standard template to calculate the actual total cost.
If I entered 100 and Origin Italy it will auto take 100*0.65*2.1=136.5 as
formula
136.5 is higher than 40 so it is OK.
If the ans is 39 it should use 40 as min.
The Fuel and security also convert according as show below

Table
Airport Dest Currency Origin Min -45 +45 +100 +500
ABC SIN USD USA 35 0.36 0.31 0.27 0.26
Rate 1.45
Fuel USD 0.55/kg
Security USD 0.17/kg

Airport Dest Currency Origin Min -45 +45 +100 +500
EFG SIN EUR Italy 40 0.55 0.66 0.65 0.64
Rate 2.1
Fuel EUR 0.45/kg
Security EUR 0.20/kg

Airport Dest Currency Origin Min -45 +45 +100 +500
HIJ SIN AUD Aust 40 0.55 0.40 0.39 0.38
Rate 1.1
Fuel AUD 0.35/kg
Security AUD 0.25/kg

Template
Origin Italy
Airport Description Rate Comment
Eur Port to Port 136.5 (100*0.65*2.1)
SIN Agency Fee 45
SIN Delivery Charge 30
SIN DO Fee 60
SIN Permit Fee 60
SIN Wharfage 60
EUR Fuel 115.5 (0.55*100*2.1)
EUR Security 35.7 ( 0.17*100*2.1)
SIN Total 542.70

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
Naming a Formula, using Link to Cell containing that Formula Lee4 Excel Discussion (Misc queries) 1 August 25th 08 11:16 PM
calculate formula of another cell sweetpeach Excel Worksheet Functions 2 January 16th 08 05:08 AM
EXCEL LINK CELL FORMULA MDL2005 Excel Worksheet Functions 3 March 18th 05 01:49 PM
formula and cell link movements wenrichards Excel Worksheet Functions 2 January 17th 05 09:36 AM
X IN A CELL TO CALCULATE A FORMULA JUSTIN Excel Worksheet Functions 1 January 3rd 05 11:08 PM


All times are GMT +1. The time now is 05:02 AM.

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

About Us

"It's about Microsoft Excel"