IF? (so close yet so far) - Page 2
Thanks Thanks:  0
Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: IF? (so close yet so far)

  1. #11
    Board Regular
    Join Date
    Feb 2002
    Location
    Calgary, Alberta Canada
    Posts
    3,329
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default

     


    You can nest the if test if you want

    example

    =IF(AND(V17>0,N17>=1),V17/(N17-P17),IF(AND(V17=0,N17=0),"","No P2s"))

    HTH Dave

  2. #12
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,809
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-14 11:24, Deirdre wrote:
    Thank you everyone for your inout and time. I tried them all and still not getting to what I want. Let me try to illustrate, I could very well be doing this the difficult way...

    In retrospect, I see I failed to fully explain my dilema. Please accept my apologies.

    N17 = 7
    V17 = 4
    When this occurs, I would like v17/(N17-P17).

    N17 = 7
    V17 = 0
    When this occurs, I would like for it to return "No P2s"

    N17 = 0
    V17 = 0
    When this occurs, I would like for it to return blank or 0 (doesn't matter)
    =IF((V17>0)*(N17>0),V17/(N17-P17),IF(V17*(N17>0)=0,"No P2s",0))

  3. #13
    Board Regular
    Join Date
    Feb 2002
    Location
    New England, USA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thank you all ever so much.

    This message board (an the old one) have helped me on numerous occasions and I'm very appreciative of this community.


User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com