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 / May 2006

Tip: Looking for answers? Try searching our database.

if than statement has too many variable

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
repke - 02 May 2006 01:40 GMT
Hello

I'm pretty much a novice at using Excel but made a formula a couple
years ago to calculate freight.  There are 2 basic scenarios, if the
weight falls between a certain brackets it gets a set price or it gets
multiplied by a percentage.  I think the max number of if than
statements is seven... correct?  My excel file was corrupted about 3
months back and I have been unsuccessful in recreating it.  I'm open to
using a more appropriate formula or fixing the current one.  Either way
I appreciate the help.

=IF(E4<=50,28,IF(E4<=305,42,IF(E4<=393,E4*0.1373,IF(E4<=500,54.05,IF(E4<=712,E4*0.1081,IF(E4<=1000,77))))))

Thanks
Chris

Signature

repke

Bernie Deitrick - 02 May 2006 14:00 GMT
Chris,

Your current formula worked fine for me, with the exception that it didn't handle weights greater
than 1000.  You could change the last IF to something like - if you have a rate for items over
1000.....

=IF(E4<=50,28,IF(E4<=305,42,IF(E4<=393,E4*0.1373,IF(E4<=500,54.05,IF(E4<=712,E4*0.1081,IF(E4<=1000,77,0.07*E4))))))

HTH,
Bernie
MS Excel MVP

> Hello
>
[quoted text clipped - 11 lines]
> Thanks
> Chris
 
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.