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 / Worksheet Functions / December 2005

Tip: Looking for answers? Try searching our database.

If Statement and two metrics

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sony654 - 12 Dec 2005 21:33 GMT
cell A6 is a ratio, and favorable if less than (<) 2.5
cell C6 is the sum of individual ratings

Please help if you can fill in the blanks...  How do I write this function??

I want to be able to trigger a calculation if two favorable conditions are
met. If one condition is met, AND a second condition is also met. How do I
write the condition As below is wrong:

=if(a6<2.5andc6>74,(c10+(c10*.10),0))

if both conditions are met, return c10+(c10*.10), if condition not met
return 0.

How do I write condition

Signature

Sony Luvy

Vito - 12 Dec 2005 21:41 GMT
You were on the right track :)

=if(and(a6<2.5,c6>74),(c10+(c10*.10),0))

if the 74 is a result of a sum of numbers, use the sum function,
=Sum(value1,value2,etc) or =Sum(cell_ref1:cell_ref2)

Signature

Vito

bj - 12 Dec 2005 21:46 GMT
try
=if(and(a6<2.5,C6>74),C10*1.1,0)

> cell A6 is a ratio, and favorable if less than (<) 2.5
> cell C6 is the sum of individual ratings
[quoted text clipped - 11 lines]
>
> How do I write condition
sony654 - 16 Dec 2005 05:21 GMT
bj - thanks alot this was right on the mark.  My appreciation.
Signature

Sony Luvy

> try
> =if(and(a6<2.5,C6>74),C10*1.1,0)
[quoted text clipped - 14 lines]
> >
> > How do I write condition
RagDyer - 12 Dec 2005 22:00 GMT
Try this:

=AND(A6<2.5,C6>74)*(C10*1.1)

Signature

HTH,

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

> cell A6 is a ratio, and favorable if less than (<) 2.5
> cell C6 is the sum of individual ratings
[quoted text clipped - 11 lines]
>
> How do I write condition
Tim C - 12 Dec 2005 23:17 GMT
One way:

=(A6<2.5)*(C6>74)*C10*1.1

Tim C

> cell A6 is a ratio, and favorable if less than (<) 2.5
> cell C6 is the sum of individual ratings
[quoted text clipped - 12 lines]
>
> How do I write condition
 
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



©2009 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.