+ Reply to Thread
Results 1 to 3 of 3

If text = text, then Yes

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Washington, dc
    MS-Off Ver
    Excel 2013
    Posts
    2

    If text = text, then Yes

    Hello,

    I have "A" (as text) in A1, and "B" (as text) in B1.
    I put in the formula
    =IF(A1=B1,Yes,No)

    What I want it to do is that if the text in A1 is the same as in B1, then "Yes",
    but if not, then "no".

    I get a #NAME! error when I try this in excel.


    Thank you very much for your help.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: If text = text, then Yes

    Try:

    =IF(A1=B1,"Yes","No")

  3. #3
    Registered User
    Join Date
    01-17-2013
    Location
    Washington, dc
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: If text = text, then Yes

    Well, that was simple.
    That works like I wanted it to.
    Thank you,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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