+ Reply to Thread
Results 1 to 6 of 6

Compare cells with words

  1. #1
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Compare cells with words

    I want to know if the word in cell A1 is the same as in cell B1. When I compare numbers I simply make the formula =B1-A1. If the result is 0 then I know the numbers are equal. But how to do the same with words?
    So when A1 has the word Apple I want to be sure that in cell B1 is not written "Aple" or "Pears"

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,109

    Re: Compare cells with words

    How about
    =A1=B1

  3. #3
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,155

    Re: Compare cells with words

    Use function 'EXACT' => =EXACT(A1,B1)
    True - the same

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Compare cells with words

    Hi Pansovic,

    You are correct that the "=" works for both numbers and text. See the attached for some examples:

    Equal Cells values and Text.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Re: Compare cells with words

    Thanks. That will do the job

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,109

    Re: Compare cells with words

    You're welcome & thanks for the feedback

+ 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: 21
    Last Post: 10-10-2019, 03:12 AM
  2. Compare words between two cells and get matching percentage
    By scottgambaro in forum Excel General
    Replies: 3
    Last Post: 02-08-2019, 03:16 PM
  3. [SOLVED] Compare words in 2 columns, formula for unique words in 3rd column
    By thecdnmole in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2018, 01:58 PM
  4. Compare words in 2 columns, formula for unique words in 3rd column
    By thecdnmole in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2018, 06:26 PM
  5. [SOLVED] Compare cells with text (words, dates and symbols) to see if the cell has changed
    By brewcitybiz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2013, 11:52 AM
  6. How do I compare text in Excel cells to see if same words are found?
    By pankajsc96 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-12-2013, 09:11 AM
  7. Compare words between two cells for percentage match
    By lkuchel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2010, 07:06 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