Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Lightbulb Creating an Excel Freight Calculator

I am trying to create an excel calculater based on the information below and am getting stuck:

Freight Rates Percentage
$0.00 - $10,000.00 2.00%
$10,001.00 - $50,000.00 1.50%
$50,001.00 - $400,000.00 0.50%

So based on the dollar of a cell i want the freight cell to calculate the amount based on the corresponding percentage.

Here is the formula i was using thinking it would work but its not:
=IF(H65<10,0000.00,.2,IF(H65<50,000.00,.15,IF(H65< 400,0000.00,.05)))
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Elissa View Post
I am trying to create an excel calculater based on the information below and am getting stuck:

Freight Rates Percentage
$0.00 - $10,000.00 2.00%
$10,001.00 - $50,000.00 1.50%
$50,001.00 - $400,000.00 0.50%

So based on the dollar of a cell i want the freight cell to calculate the amount based on the corresponding percentage.

Here is the formula i was using thinking it would work but its not:
=IF(H65<10,0000.00,.2,IF(H65<50,000.00,.15,IF(H65< 400,0000.00,.05)))
If I've understood you correctly, this should work....

=IF(AND(H650,H65<=10000),H65*0.2,IF(AND(H6510000 ,H65<=50000),H65*0.15,IF(AND(H6550000,H65<=400000 ),H65*0.05,"")))

EDIT: Formula amended to not show "FALSE" if H65 is empty
EDIT2: Sorry, had the ='s in the wrong place. This one SHOULD work ;)

Last edited by Spencer101 : June 6th 12 at 06:21 PM
  #3   Report Post  
Junior Member
 
Posts: 2
Talking

Quote:
Originally Posted by Spencer101 View Post
If I've understood you correctly, this should work....

=IF(AND(H650,H65<=10000),H65*0.2,IF(AND(H6510000 ,H65<=50000),H65*0.15,IF(AND(H6550000,H65<=400000 ),H65*0.05,"")))

EDIT: Formula amended to not show "FALSE" if H65 is empty
EDIT2: Sorry, had the ='s in the wrong place. This one SHOULD work ;)
That worked amazing. Thank you so much for your help :)
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Creating an Excel Freight Calculator

Hi Elisa,

Am Wed, 6 Jun 2012 16:56:36 +0000 schrieb Elissa:

Freight Rates Percentage
$0.00 - $10,000.00 2.00%
$10,001.00 - $50,000.00 1.50%
$50,001.00 - $400,000.00 0.50%


your price in A1, then your price plus percentage:
=A1*VLOOKUP(A1,{0,1.02;10001,1.015;50001,1.005},2, 1)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #5   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Elissa View Post
That worked amazing. Thank you so much for your help :)
Not a problem. You know where we are if you need any more help :)
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 a calculator bearing man Excel Discussion (Misc queries) 1 December 15th 09 04:13 PM
freight calculator pturnernz Excel Discussion (Misc queries) 0 September 12th 08 01:52 AM
creating a calculator mmacnz Excel Discussion (Misc queries) 1 October 23rd 07 04:07 PM
Creating a Utility Cost calculator Eric Excel Discussion (Misc queries) 1 September 9th 06 05:11 AM
Integrated calculator in excel 07 instead of separate calculator Wayne Excel Programming 1 July 26th 06 04:16 PM


All times are GMT +1. The time now is 01:49 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"