+ Reply to Thread
Results 1 to 3 of 3

If 2 cells contain the same string

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    If 2 cells contain the same string

    trying to see if 2 cells (both containing strings) contain the same string or not, keeps returning false;
    Please Login or Register  to view this content.
    A8 contains the name Renninger
    E8 may or may not contain the name Renninger, or another name need to see if they contain the same name or not.
    I think my "=" operator is the issue here..not sure though.
    any ideas??
    Last edited by fuston05; 06-03-2010 at 10:41 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: If 2 cells contain the same string

    Perhaps you have some extra spaces in one of the cells?

    try:

    =IF(TRIM(A8)=TRIM(E8), TRIM(E8), "")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-30-2010
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: If 2 cells contain the same string

    yea, that worked perfectly..thank you so much.

+ 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