Results 1 to 9 of 9

Combining two separate functions into one function

Threaded View

  1. #1
    Registered User
    Join Date
    02-16-2010
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    10

    Combining two separate functions into one function

    Hello, this is my first time posting. I had posted this question in the general forum, and I would erase from there it if I could since I know I'm not supposed to double post.

    The question seemed more relevant in this "new users" forum because I'm totally new to Excel and trying to figure things out. So perhaps a moderator can erase the original post.

    I'm trying to create a function for cell B2 that would have the following components:

    If cell B3 is the letter "A" and cell B4 < 0, then output the word "YES"; otherwise output the word "NO." I have managed to make this component work by itself:

    =IF(AND(B3="A",(B4<0)),"YES","NO")


    Also, if B3 is the letter "Z" and B4 < 0, then output the word "NO"; otherwise output the word "YES." That string works by itself:

    =IF(AND(B3="Z",(B4<0)),"NO","YES")

    What I am having a ridiculously hard time figuring out is how to include both strings in the same formula. I'm sure it's not too hard, but I just can't seem to do it. I think it must involve the "OR" command somehow...? Thanks for any help!
    Last edited by Capa; 02-19-2010 at 02:42 PM.

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