+ Reply to Thread
Results 1 to 3 of 3

Comparing 3 values from 3 different cells to see if they all match

  1. #1
    Registered User
    Join Date
    08-12-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Comparing 3 values from 3 different cells to see if they all match

    Hey

    I have three columns containing last name values from 3 different sources that I've brought into one sheet. I am trying to find a way to compare all three values to establish if they are the same.

    Of the three values there is no master, Each value may be different. So essentially it would be like doing =IF(a1=a2=a3,"match", "nomatch")
    But of course this isn't possible.

    I don't care about obtaining detail about which value matches which. I just need true or false response as to whether all three values are the same or not.

    Thanks for any help anyone can provide.

    Aaz

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

    Re: Comparing 3 values from 3 different cells to see if they all match

    =IF(and(a1=a2,a2=a3),"match", "nomatch")
    "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

  3. #3
    Registered User
    Join Date
    08-12-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Comparing 3 values from 3 different cells to see if they all match

    Damn... that was easy!

    Cheers!

+ 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