Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

varible calculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kinsey - 29 Sep 2007 21:26 GMT
I am trying to create a calculation for haulage/trucking charges

1-300 kilos  £ 30
300-400  kilos £ 35
400-500 kilos £ 40

What formula could I use to accomplish this??

   

Signature

kinsey

Sandy Mann - 29 Sep 2007 21:36 GMT
assuming that you mean:

1-299
300-399
400-

then try:

=LOOKUP(A1,{0,300,400},{30,35,40})

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

>I am trying to create a calculation for haulage/trucking charges
>
[quoted text clipped - 3 lines]
>
> What formula could I use to accomplish this??
kinsey - 30 Sep 2007 08:21 GMT
many thanks
Signature

kinsey

> assuming that you mean:
>
[quoted text clipped - 13 lines]
> >
> > What formula could I use to accomplish this??
John - 29 Sep 2007 21:46 GMT
if the weight is in cel A1 you could try
=IF(A1>300,IF(AND(A1>300,A1<400),35,40),30)
you will need to change it slightly as you have 2 values for 300 & 400
kilo's.  You might also want some validation to prevent the cell having a
value over 500 kilo's
Signature

John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)

> I am trying to create a calculation for haulage/trucking charges
>
[quoted text clipped - 5 lines]
>
>      
Wondering - 29 Sep 2007 21:57 GMT
This formula presumes that you have a cell named weight and that weight is
not 0, and that any weight over 400 kilos is £ 40.  You can make it more
elaborate. For a few more weights, you could do a table lookup.

=IF(weight<=300,30,IF(weight<=400,35,40))

>I am trying to create a calculation for haulage/trucking charges
>
[quoted text clipped - 3 lines]
>
> What formula could I use to accomplish this??
Wondering - 29 Sep 2007 22:03 GMT
Sorry, didn't pay enough attention. The formula will not work. Your criteria
need clarification.

1-300 kilos is £ 30, 300 - 400 kilos is £ 35. You can't have that. 300 kilos
is both £ 30 and £ 35 and 400 kilos is both £ 35 and £ 40.

>>I am trying to create a calculation for haulage/trucking charges
>>
[quoted text clipped - 3 lines]
>>
>> What formula could I use to accomplish this??
Gord Dibben - 29 Sep 2007 21:57 GMT
First I think you have a couple of typos.  You can't have two rates for 300 or
400

Maybe you mean  

1-300
301-400
401-500

or do you mean?

1-299
300-399
400-500

Will there ever be fractions like  299.96 kg?

Will there ever be more than 500 kg?

If so, would the max be £40

=LOOKUP(A1,{1,301,401,501},{30,35,40,40})

Try the above............adjust ranges as needed.

Gord Dibben  MS Excel MVP

>I am trying to create a calculation for haulage/trucking charges
>
[quoted text clipped - 3 lines]
>
>What formula could I use to accomplish this??
kinsey - 30 Sep 2007 08:50 GMT
works a treat! many thanks
Signature

kinsey

> First I think you have a couple of typos.  You can't have two rates for 300 or
> 400
[quoted text clipped - 32 lines]
> >
> >    

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.