+ Reply to Thread
Results 1 to 2 of 2

How to take a text difference in a cell

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    houston
    MS-Off Ver
    2010
    Posts
    4

    How to take a text difference in a cell

    Hello,

    I am trying to get the text difference of data in two cells:



    A,B,D,E,F,C,G,H, (next cell) A,D,F,G,H,

    I would like the results to be: B,E,C

    Basically, the letters that are in Column 1 but not in Column 2.

    Thank you,
    Rana
    Last edited by ranabananagirl; 06-14-2015 at 08:08 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to take a text difference in a cell

    I couldn't do this without a helper row.

    Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter not just Enter.

    Row\Col
    A
    B
    C
    D
    1
    A,B,D,E,F,C,G,H A,D,F,G,H In A2 :{=INDEX(MID($A$1,ROW(INDIRECT("1:"&LEN($A$1))),2),SMALL(IF(ISNA(MATCH(MID($A$1,ROW(INDIRECT("1:"&LEN($A$1))),1),MID($B$1,ROW(INDIRECT("1:"&LEN($B$1))),1),0)),ROW(INDIRECT("1:"&LEN($A$1))),""),COLUMNS($A:A)))}
    2
    B, E, C, array-entered and filled across to C2.
    3
    B,E,C In A3 :=LEFT(A2&B2&C2,LEN(A2&B2&C2)-1)
    Last edited by FlameRetired; 06-14-2015 at 11:05 PM. Reason: mis-interpreted
    Dave

+ 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. time difference - text cells ?
    By Lukael in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2014, 06:34 AM
  2. VBA userform Time difference in text box
    By Hilton1982 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-23-2012, 04:56 AM
  3. Match Text and find the difference
    By soumitra_1982 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-03-2012, 11:29 AM
  4. Difference between values Text + Number
    By hpunaro in forum Excel General
    Replies: 3
    Last Post: 05-18-2010, 05:14 PM
  5. % Difference in Text Lists
    By JOGIER in forum Excel General
    Replies: 4
    Last Post: 03-20-2009, 02:50 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