Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Excel formula help for calculating freight.

Hello everyone,

I need help with a formula please. Spreadsheet is attached in zip file.


The attached spreadsheet has (4) sheets. The first sheet contains the formulas, the 2nd through 4th sheets contain freight costs/weights for 3 different freight companies. Columns H, I, and L already have active formulas within them. Column M is where I need the freight formula.

------------

This is what I would like to have happen (if possible) in Column M under Shipping Cost but can't seem to figure it out. Here are my scenarios:

1. If Column H and Column I show "Eligible" or if Column H shows "Eligible" and Column I shows "NonEligible", use data from ShipMethod1 Freight sheet and depending on what Column L is showing as the "Calculated Weight" value, pull the corresponding freight cost from ShipMethod1 Freight sheet into Column M. (Note: The issue here is that Calculated Weight is not always a whole number so the calculation has to look at weight ranges on the freight table to choose the right associated cost. So for example, if the Calculated Weight was .35, the formula should choose the freight cost value of $2.09 from ShipMethod1 Freight sheet.)

2. If Column H shows "NonEligible" and Column I shows "Eligible", use data from ShipMethod2 Freight sheet and depending on what Column L is showing as the "Calculated Weight" value, pull the corresponding freight cost from ShipMethod2 Freight sheet into Column M. (Note: Same issue here with ranges...)

3. If Column H shows "NonEligible" and Column I shows "NonEligible", use data from ShipMethod3 Freight sheet and depending on what Column L is showing as the "Calculated Weight" value, pull the corresponding freight cost from ShipMethod3 Freight sheet into Column M. (Note: Same issue here with ranges...)
------------

I hope this makes sense...

Thank you for any and all help!
Attached Files
File Type: zip test_073113.zip (12.2 KB, 250 views)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Excel formula help for calculating freight.

Hi Roland,

Am Thu, 1 Aug 2013 20:29:51 +0100 schrieb roland_arv:

1. If Column H and Column I show "Eligible" or if Column H shows
"Eligible" and Column I shows "NonEligible", use data from ShipMethod1
Freight sheet and depending on what Column L is showing as the
"Calculated Weight" value, pull the corresponding freight cost from
ShipMethod1 Freight sheet into Column M. (Note: The issue here is that
Calculated Weight is not always a whole number so the calculation has to
look at weight ranges on the freight table to choose the right
associated cost. So for example, if the Calculated Weight was .35, the
formula should choose the freight cost value of $2.09 from ShipMethod1
Freight sheet.)

2. If Column H shows "NonEligible" and Column I shows "Eligible", use
data from ShipMethod2 Freight sheet and depending on what Column L is
showing as the "Calculated Weight" value, pull the corresponding freight
cost from ShipMethod2 Freight sheet into Column M. (Note: Same issue
here with ranges...)

3. If Column H shows "NonEligible" and Column I shows "NonEligible", use
data from ShipMethod3 Freight sheet and depending on what Column L is
showing as the "Calculated Weight" value, pull the corresponding freight
cost from ShipMethod3 Freight sheet into Column M. (Note: Same issue
here with ranges...)


try in M2:
=INDEX('ShipMethod1 Freight'!B2:B151,MATCH(L2,'ShipMethod1 Freight'!A2:A151,1))*(H2="Eligible")+INDEX('ShipMe thod2 Freight'!B2:B151,MATCH(L2,'ShipMethod2 Freight'!A2:A151,1))*(AND(H2="NonEligible",I2="Eli gible"))+INDEX('ShipMethod3 Freight'!B2:B151,MATCH(L2,'ShipMethod3 Freight'!A2:A151,1))*(AND(H2="NonEligible",I2="Non Eligible"))


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Hello Claus,

Thank you so much for looking at this. Unfortunately, it did not work for us. We actually did a work-around that seems to be working at this time. Thank you again.

Quote:
Originally Posted by Claus Busch View Post
Hi Roland,

Am Thu, 1 Aug 2013 20:29:51 +0100 schrieb roland_arv:

1. If Column H and Column I show "Eligible" or if Column H shows
"Eligible" and Column I shows "NonEligible", use data from ShipMethod1
Freight sheet and depending on what Column L is showing as the
"Calculated Weight" value, pull the corresponding freight cost from
ShipMethod1 Freight sheet into Column M. (Note: The issue here is that
Calculated Weight is not always a whole number so the calculation has to
look at weight ranges on the freight table to choose the right
associated cost. So for example, if the Calculated Weight was .35, the
formula should choose the freight cost value of $2.09 from ShipMethod1
Freight sheet.)

2. If Column H shows "NonEligible" and Column I shows "Eligible", use
data from ShipMethod2 Freight sheet and depending on what Column L is
showing as the "Calculated Weight" value, pull the corresponding freight
cost from ShipMethod2 Freight sheet into Column M. (Note: Same issue
here with ranges...)

3. If Column H shows "NonEligible" and Column I shows "NonEligible", use
data from ShipMethod3 Freight sheet and depending on what Column L is
showing as the "Calculated Weight" value, pull the corresponding freight
cost from ShipMethod3 Freight sheet into Column M. (Note: Same issue
here with ranges...)


try in M2:
=INDEX('ShipMethod1 Freight'!B2:B151,MATCH(L2,'ShipMethod1 Freight'!A2:A151,1))*(H2="Eligible")+INDEX('ShipMe thod2 Freight'!B2:B151,MATCH(L2,'ShipMethod2 Freight'!A2:A151,1))*(AND(H2="NonEligible",I2="Eli gible"))+INDEX('ShipMethod3 Freight'!B2:B151,MATCH(L2,'ShipMethod3 Freight'!A2:A151,1))*(AND(H2="NonEligible",I2="Non Eligible"))


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Creating an Excel Freight Calculator Elissa Excel Worksheet Functions 4 June 6th 12 08:58 PM
freight calculator pturnernz Excel Discussion (Misc queries) 0 September 12th 08 01:52 AM
Freight Calculation [email protected][_2_] Excel Programming 2 August 1st 07 01:11 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 12:56 PM.

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"