+ Reply to Thread
Results 1 to 7 of 7

Combining together multiple IF statements

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Combining together multiple IF statements

    all the following conditition should be satisfied the eligilibity

    age<=40 years
    height>=170 cm
    qualification = Graduate
    nationality = british

    if all the condition satisfy the output will be "Eligible". if any one of the above condition not satisfied, the output will be "Not Eligible".

    please help me

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Combining together multiple IF statements

    Try...

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Combining together multiple IF statements

    You didn't say what cells are used for age, height etc., so you will need to adapt this to your cell references:

    =IF(AND(age<=40,height>=170,quals="Graduate",nationality="British"),"Eligible","Not Eligible")

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Combining together multiple IF statements

    Thank you very much.
    is there any technique to solve the problem only through IF function??
    Quote Originally Posted by jeffreybrown View Post
    Try...

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Combining together multiple IF statements

    Quote Originally Posted by jupitar View Post
    ...is there any technique to solve the problem only through IF function??
    Seems little point in doing that, but here's one way:

    =IF(age<=40,IF(height>=170,IF(quals="Graduate",IF(nationality="British","Eligible","Not Eligible")","Not Eligible")","Not Eligible")","Not Eligible")

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    07-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Combining together multiple IF statements

    Thank you very much. Here is the perfect code.
    Please Login or Register  to view this content.
    Last edited by Cutter; 07-20-2012 at 08:50 PM. Reason: Removed whole post quote

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Combining together multiple IF statements

    Hello jupitar, and welcome to the forum.

    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. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself.
    Thanks.

    Also, as a 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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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