+ Reply to Thread
Results 1 to 5 of 5

Complicated If/And/Or statement

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Southeast US
    MS-Off Ver
    Excel 2007
    Posts
    2

    Complicated If/And/Or statement

    =IF(AND(G66=0,G75=0),”TEST SCORES NEEDED”,IF(AND(OR(G66>=L30,G75>=L31),OR(L25>=L27,(L25>=L28))),"QUALIFIER","NON-QUALIFIER"))

    For my function, if the first portion (G66=0,G75=0) is TRUE, I need it to return "TEST SCORES NEEDED".

    If the first portion (G66=0,G75=0) is FALSE, it should then use the nested if statement IF(AND(OR(G66>=L30,G75>=L31),OR(L25>=L27,(L25>=L28))),"QUALIFIER","NON-QUALIFIER")) to return either "QUALIFIER" or non "NON-QUALIFIER".

    The second portion which returns "QUALIFIER" or "NON-QUALIFIER" is working properly, but I cannot get the first part of the function (G66=0,G75=0) to return "TEST SCORES NEEDED" if the (G66=0,G75=0) statement is true. When (G66=0,G75=0) is TRUE, it returns #NAME?.

    Any ideas to help repair the first part of my If statement?

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Complicated If/And/Or statement

    Yes Just use the right "" in the test scores needed... It worked when I tried it...

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    Southeast US
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Complicated If/And/Or statement

    Wow, thats embarassing. What a first post, huh?

    Thanks for your help!

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Complicated If/And/Or statement

    You are welcome

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Complicated If/And/Or statement

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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