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

=LOOKUP(A1,{0,45,100,300,500,10000},{9.5,8.5,7.5,4 .5,3.5,1.5})*A1


"Oliver" wrote:

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
Age calculation Clash Excel Discussion (Misc queries) 5 March 17th 06 07:16 PM
calculation john Setting up and Configuration of Excel 1 November 29th 05 01:42 PM
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 05:05 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"