+ Reply to Thread
Results 1 to 5 of 5

Check if 2 cells contain the same specific text

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    9

    Check if 2 cells contain the same specific text

    What I am attempting to do is search if 2 cells contain specific text. For example in Column C I want to output "Yes" only if cell A and B are Yes otherwise the output is "No".
    A B C
    1 Yes Yes Yes
    2 Yes No No
    3 No No No

    Any help would be much appreciated. Its probably simple

    I have tried =IF(A1=B1="Yes", "Yes, "No") to no avail
    Last edited by Verifyor; 08-07-2014 at 06:17 AM.

  2. #2
    Registered User
    Join Date
    07-29-2011
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Check if 2 cells contain the same specific text

    Hi :-)

    You can do this with a simple formula in C, such as:

    Please Login or Register  to view this content.
    Edit:
    To ensure you take care of blanks, you can do the following (and copy down)

    Please Login or Register  to view this content.
    Hope this helps!

    Jenn

  3. #3
    Registered User
    Join Date
    02-21-2014
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Check if 2 cells contain the same specific text

    Perfect, Thank You!

  4. #4
    Registered User
    Join Date
    07-29-2011
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Check if 2 cells contain the same specific text

    Very welcome! :-)

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Check if 2 cells contain the same specific text

    simpler is
    =if(a1&b1="yesyes","yes","no")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. possible to check for file in multiple folders, then check for values in specific cells?
    By mattheritage in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2014, 08:33 AM
  2. [SOLVED] How to check if a cell contains specific text
    By ClaireH in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2013, 12:33 PM
  3. [SOLVED] Cells values to be check and replace with specific text
    By amolryeolekar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2013, 02:44 AM
  4. Check if cell contains specific text
    By L.LEE in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 12-23-2012, 07:08 PM
  5. Check if the specific text exist beside a specific text
    By christlivethinme in forum Excel General
    Replies: 11
    Last Post: 09-21-2012, 08:18 AM

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