+ Reply to Thread
Results 1 to 4 of 4

Doubt with 3 condition

  1. #1
    saraskandan@gmail.com
    Guest

    Doubt with 3 condition

    Can anyone help in solving the following doubt?

    I have to 3 parameters

    Condition 1, condition 2 and condition 3

    If Condition 1 or Condition 3 has value 1 then my result should show as
    10. How can I do this using if condition.


  2. #2
    Dave Peterson
    Guest

    Re: Doubt with 3 condition

    I thought it was working?

    saraskandan@gmail.com wrote:
    >
    > Can anyone help in solving the following doubt?
    >
    > I have to 3 parameters
    >
    > Condition 1, condition 2 and condition 3
    >
    > If Condition 1 or Condition 3 has value 1 then my result should show as
    > 10. How can I do this using if condition.


    --

    Dave Peterson

  3. #3
    Roger Govier
    Guest

    Re: Doubt with 3 condition

    Hi Sara

    Try
    =IF(OR(A1=1,A2=1),10,"something else")
    where A1 holds your condition 1, A2 holds your condition 2 and "something
    else" is what you want to see returned if the conditions are not met.

    Regards

    Roger Govier


    saraskandan@gmail.com wrote:
    > Can anyone help in solving the following doubt?
    >
    > I have to 3 parameters
    >
    > Condition 1, condition 2 and condition 3
    >
    > If Condition 1 or Condition 3 has value 1 then my result should show as
    > 10. How can I do this using if condition.
    >


  4. #4
    G Love
    Guest

    Re: Doubt with 3 condition

    Hi Sara, it's pretty much as Roger has said, except as i understand it
    you want 10 returned for conditions 1 or 3 matching the criteria of '1'
    but not condition 2?!

    try this in excel;

    A B C D E F
    1 (1) 1 1 7 12 ...

    2 (2) 6 0 3 1
    3 (3) 1 5 1 0

    In B4 enter '=IF(OR(B1=1,B3=1),10,0)' and corner drag/fill to as far
    right as you require.
    this will return '0' if the criteria are not met (you can put any value
    here, if you want text returned you must enclose it in brackets - e.g.
    try; '=IF(OR(B1=1,B3=1),10,"FAIL")'

    If you want your conditions across the top, which will allow more
    entries as there's 65536 columns, try the following;

    A B C D
    1 (1) (2) (3)
    2 1 3 1 10
    3 1 0 5 10
    4 0 7 1 10
    5 9 1 0 0

    Enter; '=IF(OR(A2=1,C2=1),10,0)' in D2 and corner drag/copy the cell
    down the 'D' column as far as is required.

    Hope this helps.

    PGLove


+ 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