+ Reply to Thread
Results 1 to 9 of 9

help creating a formula using IF and AND

  1. #1
    joe54345@gmail.com
    Guest

    help creating a formula using IF and AND



    I need to create a formula for below:

    IF A2 is greater than A1 AND A4>A3 then A4 should be multiplied by .04,
    if A2 is not greater than A1 then A4 should be multiplied by .03.


  2. #2
    Dave Peterson
    Guest

    Re: help creating a formula using IF and AND

    Check your thread in .misc.

    joe54345@gmail.com wrote:
    >
    > I need to create a formula for below:
    >
    > IF A2 is greater than A1 AND A4>A3 then A4 should be multiplied by .04,
    > if A2 is not greater than A1 then A4 should be multiplied by .03.


    --

    Dave Peterson

  3. #3
    joe54345@gmail.com
    Guest

    Re: help creating a formula using IF and AND

    Thanks Dave, wasn't sure if I was in the right forum. I've got another
    tough one for you:

    If A2>A1 AND A4>A3 AND 2 out of the next 3 need to be true A10>A9,
    A8>A7, A6>A5 Then A2*.03 or FALSE


  4. #4
    Bob Phillips
    Guest

    Re: help creating a formula using IF and AND

    =IF(AND(A2>A1,A4>A3,SUM(A10>A9,A8>A7,A6>A5)=2),A2*0.03)

    --
    HTH

    RP
    <joe54345@gmail.com> wrote in message
    news:1137438328.031818.118470@g14g2000cwa.googlegroups.com...
    > Thanks Dave, wasn't sure if I was in the right forum. I've got another
    > tough one for you:
    >
    > If A2>A1 AND A4>A3 AND 2 out of the next 3 need to be true A10>A9,
    > A8>A7, A6>A5 Then A2*.03 or FALSE
    >




  5. #5
    joe54345@gmail.com
    Guest

    Re: help creating a formula using IF and AND

    thanks Bob!

    one more question, how do I move one formula from A1 to e1 without
    dragging it over the formulas between?


  6. #6
    joe54345@gmail.com
    Guest

    Re: help creating a formula using IF and AND

    Bob, is there a way to fix the formula so if 3 of the 3 are true it
    still will compute A2*.3. Right now it only computes if only 2 out of 3
    are true. Thanks


  7. #7
    Bob Phillips
    Guest

    Re: help creating a formula using IF and AND

    =IF(AND(A2>A1,A4>A3,SUM(A10>A9,A8>A7,A6>A5)>2),A2*0.03)

    will work for 2 and for 3.

    If you want to copy to E1, just copy that cell, then paste in E1, Excel will
    adjust the formulae.

    --
    HTH

    RP
    <joe54345@gmail.com> wrote in message
    news:1137441342.625578.102680@g43g2000cwa.googlegroups.com...
    > Bob, is there a way to fix the formula so if 3 of the 3 are true it
    > still will compute A2*.3. Right now it only computes if only 2 out of 3
    > are true. Thanks
    >




  8. #8
    joe54345@gmail.com
    Guest

    Re: help creating a formula using IF and AND

    that >2 doesn't seem to work, I checked it but my eyes are going batty,
    is that the only thing you changed in the equation?


  9. #9
    Bob Phillips
    Guest

    Re: help creating a formula using IF and AND

    Sorry, my bad. I meant

    =IF(AND(A2>A1,A4>A3,SUM(A10>A9,A8>A7,A6>A5)>=2),A2*0.03)

    --
    HTH

    RP
    <joe54345@gmail.com> wrote in message
    news:1137445596.186245.276900@g49g2000cwa.googlegroups.com...
    > that >2 doesn't seem to work, I checked it but my eyes are going batty,
    > is that the only thing you changed in the equation?
    >




+ 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