+ Reply to Thread
Results 1 to 6 of 6

Multiple if with criteria text

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Multiple if with criteria text

    H I J K L M N O P
    THIS ABBA dgy s 5301 AABB 1 THIS
    THIS BABA s 5302 AABB 2 THIS
    THIS ABAC aiks 4451 AABC 3
    THIS CABA ls 4452 AABC 4
    THIS ALBA s 3389 AABL 5 THIS
    THIS BAAL s 3390 AABL 6 THIS
    THIS ARBA s 2641 AABR 7 THIS
    THIS ABAS bcy ehk 3391 AABS 8
    THIS BAAS 3392 AABS 9
    THIS YABA s 4453 AABY 10 THIS

    I have this data

    I need if formula to do the following logic to mark as THIS on column P

    IF H = THIS
    IF O = THIS
    IF J = BLANK NO DATA

    THEN MARK TRUE

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Multiple if with criteria text

    Use AND()
    Like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Multiple if with criteria text

    Try

    =IF(AND(H1="THIS",O1="THIS",J1=""),TRUE,FALSE)
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    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,981

    Re: Multiple if with criteria text

    The inverted commas are not needed for TRUE and FALSE:

    =IF(AND(H="THIS";O="THIS";J="");TRUE;FALSE)

    The OP's locale might require commas instead of semi-colons:

    =IF(AND(H="THIS",O="THIS",J=""),TRUE,FALSE)
    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.

  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,981

    Re: Multiple if with criteria text

    The inverted commas are not needed for TRUE and FALSE:

    =IF(AND(H="THIS";O="THIS";J="");TRUE;FALSE)

    The OP's locale might require commas instead of semi-colons:

    =IF(AND(H="THIS",O="THIS",J=""),TRUE,FALSE)

  6. #6
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Multiple if with criteria text

    Well, then if() is not needed too. AND() will return boolean True or False.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by kasan; 12-28-2016 at 05:46 AM.

+ 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. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  2. Replies: 3
    Last Post: 12-03-2014, 05:43 PM
  3. [SOLVED] COUNTIF(S) multiple criteria (text & text)
    By jholiday78 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2014, 08:18 PM
  4. Replies: 2
    Last Post: 05-12-2014, 08:21 AM
  5. Multiple Criteria search and COUNT FOR TEXT across multiple sheet ARRAY's
    By akaushik25 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2014, 08:58 AM
  6. Replies: 2
    Last Post: 02-20-2012, 05:59 PM
  7. Count multiple rows (text) with multiple criteria (text)
    By alecabral08 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-21-2008, 04:26 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