+ Reply to Thread
Results 1 to 4 of 4

Multiple nested AND functions in an IF statement

  1. #1
    Forum Contributor
    Join Date
    11-06-2007
    Posts
    123

    Multiple nested AND functions in an IF statement

    Hi
    I would like to add a comment in B23 from C3:C18 that is the combination of the Objective and Competence values selected in the drop downs in B21 and B22. I was using “ IF(AND(A3="Exceeded",B3="Exceeded"),C3, etc.. to cover all combinations, but I am sure that there is a simpler way.
    Thanks
    Regards
    Cortlyn
    Attached Files Attached Files
    Last edited by Cortlyn; 03-05-2013 at 05:30 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple nested AND functions in an IF statement

    1) Change the value in F1 to Exceeded (these strings need to match exactly)

    2) Fix the choices in B21 and B22 in case you want them the be Exceeded

    3) The formula in B23 would be:

    =INDEX($C$3:$C$18, MATCH(B21&B22, INDEX($A$3:$A$18&$B$3:$B$18, 0), 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    11-06-2007
    Posts
    123

    Re: Multiple nested AND functions in an IF statement

    Thank you very much.

    Regards

    Cortlyn

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Multiple nested AND functions in an IF statement

    This concatanates all the strings in column B if that is what you need.

    Please Login or Register  to view this content.
    However I think that what you need is to count the appearances of "Exceeded" and if all a certain percentage then make one statement if not another.

    What you would need for that is the Countif function.

    I have played with your spreadsheet a bit.

    I hope you like the changes.
    Attached Files Attached Files

+ 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