+ Reply to Thread
Results 1 to 3 of 3

Combining Multiple IF Statements

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Tennessee
    MS-Off Ver
    MS Office 13
    Posts
    24

    Combining Multiple IF Statements

    Hi I am new to the forum but have looked at some of the posts before when I have needed some help. I hope that I am following the rules.

    I have Office 2010

    I am trying to combine multiple If statements in an Excel Spreadsheet. Here is my problem.

    One column I have a list of countries. I want to separate the countries by their Country Code = Americas, EMEAR, APJC

    Eg. Column A has the following countries Canada
    USA
    India
    China
    Ireland
    Spain

    I want Column B to give the Corresponding country Code, so it should look like this"

    Column A | Column B
    Canada | Americas
    USA | Americas
    India | APJC
    China | APJC
    Ireland | EMEAR
    Spain | EMEAR

    I can get it to work with only one if statement: =IF(OR(A1="United States", A1="Canada"), "Americas", "")
    This gives me the Americas but I want it to populate for the other countries as well. I hope this makes sense


    Thanks,

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Combining Multiple IF Statements

    Yes it's possible:

    =IF(OR(A1={"United States","Canada"}),"Americas",IF(OR(A1={"India","China"}),"APJC",IF(OR(A1={"Ireland","Spain"}),"EMEAR","")))
    If I've helped U pls click on d *Add Reputation

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    Tennessee
    MS-Off Ver
    MS Office 13
    Posts
    24

    Re: Combining Multiple IF Statements

    Thank you sooo much, Worked like a charm, you are awesome!!!!!!!!!!!!!!!!

+ 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. [SOLVED] Combining Multiple If Statements
    By Ash248 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-07-2013, 01:47 PM
  2. Combining multiple IF statements
    By Jaspal in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2013, 11:41 AM
  3. [SOLVED] Combining multiple IF THEN statements
    By ktbb0312 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2013, 02:04 AM
  4. [SOLVED] Combining together multiple IF statements
    By jupitar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2012, 08:51 PM
  5. Combining Multiple IF Statements
    By prefcomm in forum Excel General
    Replies: 2
    Last Post: 11-11-2009, 11:35 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