IF/OR statement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vicwootn
    SBR Rookie
    • 01-13-11
    • 20

    #1
    IF/OR statement
    hey, i am an excel newbie.

    =IF(OR(Q5=''federer'',Q5=''nadal''), ''yes'', ''no'')

    i'm getting an error, can someone help me correct this?
  • vicwootn
    SBR Rookie
    • 01-13-11
    • 20

    #2
    IF/OR statement help

    oops
    Last edited by vicwootn; 06-20-11, 08:31 AM.
    Comment
    • Emily_Haines
      SBR Posting Legend
      • 04-14-09
      • 15917

      #3
      When I copy and pasted found out you had used two of these things........'

      you need to use the " which can be done with one key stroke instead.
      Comment
      • vicwootn
        SBR Rookie
        • 01-13-11
        • 20

        #4
        thanks, i think i'm good now :P
        Comment
        • vicwootn
          SBR Rookie
          • 01-13-11
          • 20

          #5
          one more thing, i want to expand upon the following :

          =IF(V2<V3,Y5,Y6)

          adding IF(V2=V3, 1, 0)

          how do i do this?
          Last edited by vicwootn; 06-20-11, 08:28 AM.
          Comment
          • trevlyn1983
            SBR Wise Guy
            • 05-25-09
            • 940

            #6
            will this work ?

            Code:
             
            =IF(V2=V3,1,IF(V2>V3,0,IF(V2<V3,Y5,Y6)))
            Last edited by trevlyn1983; 06-20-11, 11:21 AM. Reason: didnt paste right
            Comment
            • trevlyn1983
              SBR Wise Guy
              • 05-25-09
              • 940

              #7
              not pasting right
              just add the rest of first line to it and see if that works for you .
              Last edited by trevlyn1983; 06-20-11, 11:04 AM.
              Comment
              • jgilmartin
                SBR MVP
                • 03-31-09
                • 1119

                #8
                Look at Example 3 on this page:
                Find Microsoft Excel help and learning resources. Explore how-to articles, guides, training videos, and tips to efficiently use Excel.


                It is Excel's equivalent to ELSE IF.
                Comment
                • trevlyn1983
                  SBR Wise Guy
                  • 05-25-09
                  • 940

                  #9
                  Updated last post.
                  Comment
                  • vicwootn
                    SBR Rookie
                    • 01-13-11
                    • 20

                    #10
                    i used what Trev recommended, thanks guys.
                    Comment
                    SBR Contests
                    Collapse
                    Top-Rated US Sportsbooks
                    Collapse
                    Working...