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 / July 2007

Tip: Looking for answers? Try searching our database.

Formula Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoeH - 04 Jul 2007 06:25 GMT
I am trying to develop a worksheet where my sum will vary depending on
whether another cell is greater than one number, greater than or less than
another number and less than another number.  A second multiplier depends on
this criteria.  An example would be if cell L20was <30 then C20 would be
multiplied by cell L20.  If it was <36> It would be multiplied by I20and if
it was >36 it would be multiplied by cell F20.  I am trying to enter the
formula into cell M20.  Hope this makes sense.  Thanks in advance.
joeu2004 - 04 Jul 2007 07:27 GMT
> An example would be if cell L20was <30 then C20 would be
> multiplied by cell L20.  If it was <36> It would be multiplied by I20and if
> it was >36 it would be multiplied by cell F20.  I am trying to enter the
> formula into cell M20.  Hope this makes sense.

=C20 * if(L20<30, L20, if(L20>36, F20, I20))
JoeH - 04 Jul 2007 20:07 GMT
Thanks for the help.  I was suffering from brain cramps, but it all makes
sense now that I got some sleep and looked over your reply.

>> An example would be if cell L20was <30 then C20 would be
>> multiplied by cell L20.  If it was <36> It would be multiplied by I20and
[quoted text clipped - 3 lines]
>
> =C20 * if(L20<30, L20, if(L20>36, F20, I20))
T. Valko - 04 Jul 2007 07:43 GMT
You need to define the intervals more clearly.

When a lot of people post this type of question they don't realize that they
have either defined overlapping intervals or left out a number that's the
boundary of an interval.

Try defining them like this:

<= X (less than or equal to)
>= X but <= X  (greater than or equal to but less than or equal to)
>= X (greater than or equal to)

For example:

<=30
>= 31 but <=35
>=36

Signature

Biff
Microsoft Excel MVP

>I am trying to develop a worksheet where my sum will vary depending on
>whether another cell is greater than one number, greater than or less than
[quoted text clipped - 3 lines]
>it was >36 it would be multiplied by cell F20.  I am trying to enter the
>formula into cell M20.  Hope this makes sense.  Thanks in advance.
 
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.