+ Reply to Thread
Results 1 to 6 of 6

If Statement and two metrics

  1. #1
    sony654
    Guest

    If Statement and two metrics

    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

    --
    Sony Luvy

  2. #2
    Forum Contributor
    Join Date
    11-29-2005
    Posts
    142
    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)

  3. #3
    bj
    Guest

    RE: If Statement and two metrics

    try
    =if(and(a6<2.5,C6>74),C10*1.1,0)

    "sony654" wrote:

    > 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
    >
    > --
    > Sony Luvy


  4. #4
    RagDyer
    Guest

    Re: If Statement and two metrics

    Try this:

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

    --
    HTH,

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


    "sony654" <[email protected]> wrote in message
    news:[email protected]...
    > 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
    >
    > --
    > Sony Luvy



  5. #5
    Tim C
    Guest

    Re: If Statement and two metrics

    One way:

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

    Tim C

    "sony654" <[email protected]> wrote in message
    news:[email protected]...
    > 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
    >
    > --
    > Sony Luvy




  6. #6
    sony654
    Guest

    RE: If Statement and two metrics

    bj - thanks alot this was right on the mark. My appreciation.
    --
    Sony Luvy


    "bj" wrote:

    > try
    > =if(and(a6<2.5,C6>74),C10*1.1,0)
    >
    > "sony654" wrote:
    >
    > > 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
    > >
    > > --
    > > Sony Luvy


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1