+ Reply to Thread
Results 1 to 7 of 7

IF statement with one set condition and multiple others

  1. #1
    Registered User
    Join Date
    09-28-2021
    Location
    Belfast
    MS-Off Ver
    2016
    Posts
    2

    IF statement with one set condition and multiple others

    In the attached excel sheet. I want to show if a Certificate is required for exporting goods from GB only to the EU or N. Ireland. So basically if goods travel from GB to either the EU or N. Ireland, then a certifcate is required (output 'True'), otherwise not required (output 'False').



    So far I only know how to get 'True' if GB = EU as per the formula below.

    =IF(AND(A3="GB",B3= "EU"),TRUE,FALSE)



    On that, I would appreciate it if someone could tell me how to put in multiple conditions (EU or N. Ireland) for cell B3
    Attached Files Attached Files
    Last edited by fishcultureman; 09-28-2021 at 09:55 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: IF statement with one set condition and multiple others

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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: IF statement with one set condition and multiple others

    Welcome to the forum.

    Try this:

    =IF(AND(A3="GB",OR(B3= "EU",B3="N. Ireland")),"Y","N")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    09-28-2021
    Location
    Belfast
    MS-Off Ver
    2016
    Posts
    2

    Re: IF statement with one set condition and multiple others

    Quote Originally Posted by Pepe Le Mokko View Post
    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Sorry - no luck with that. The Output needs to be True if GB is selected with either EU or N. Ireland as a selection.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: IF statement with one set condition and multiple others

    That's exactly what it does!!!

    AliGW on MS365 Insider (Windows) 32 bit
    A
    B
    C
    2
    Export Start Point
    Export Destination
    3
    GB
    EU
    4
    5
    Is Certificate required (Y/N)
    Y
    AliGW
    6
    TRUE
    Pepe
    Sheet: Raw

    AliGW on MS365 Insider (Windows) 32 bit
    A
    B
    C
    2
    Export Start Point
    Export Destination
    3
    GB
    N. Ireland
    4
    5
    Is Certificate required (Y/N)
    Y
    AliGW
    6
    TRUE
    Pepe
    Sheet: Raw
    Last edited by AliGW; 09-28-2021 at 10:11 AM.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: IF statement with one set condition and multiple others

    I then suppose there is a space before The "I" of "Ireland like N. Ireland ?
    Easily corrected

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: IF statement with one set condition and multiple others

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, 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 all those who offered help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help with a multiple condition IF statement
    By tlstephe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2014, 10:08 AM
  2. Need help with Multiple condition IF statement
    By tlstephe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-01-2014, 08:10 AM
  3. [SOLVED] If statement formula with multiple condition
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 04:25 AM
  4. Multiple condition IF statement PLEASE HELP
    By jam320 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2014, 02:59 PM
  5. Multiple Condition If statement
    By cbjhay2006 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-14-2013, 07:40 PM
  6. Multiple condition IF statement`
    By floricita in forum Excel General
    Replies: 2
    Last Post: 10-13-2011, 05:41 AM
  7. auto populate a cell using IF statement with multiple condition
    By njoymirror in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-30-2009, 03:21 PM

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