Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default breakpoint calculation

Try this:

=LOOKUP(A1,{0,46,101,301,501,10001;9.5,8.5,7.5,4.5 ,3.5,1.5})*A1
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Oliver" wrote in message
...
The following is a presentation of rate table:
<45kg +45KG +100KG +300KG +500KG +10000KG
$9.5 $8.5 $7.5 $4.5 $3.5 $1.5

It reads if weight is smaller than 45kg then we charge $9.5 per kg; if
weight is between 45 and 100kg then we charge $8.5 and so on; is there
an easy way to write a formula to calculate the total charge based on
the weight?
I could use if(weight<45,9.5*weight,if(and(weight45,weight<10 0),
8.5*weight, etc etc) but it will be a long formula...
i think it must have an easy way to do this...


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
breakpoint calculation Ron Rosenfeld Excel Worksheet Functions 0 October 22nd 08 03:07 AM
breakpoint calculation Teethless mama Excel Worksheet Functions 0 October 22nd 08 03:02 AM
Breakpoint will not stop Excel subroutine boswald Excel Discussion (Misc queries) 2 August 24th 05 12:24 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


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