+ Reply to Thread
Results 1 to 4 of 4

Excel Column Compare

  1. #1
    Registered User
    Join Date
    03-25-2006
    Posts
    28

    Excel Column Compare

    Hi,
    I have four columns A, B, C, D
    If the text of the any cell on D column appears in any of the three previous columns (A, B, C), That cell is to be highlighted.

    I am using "=COUNTIF($A$1:$J$1000,A1)>1" with some formatting for my purpose.

    Now my need is If only initial four character of any cell on D column appears in a same sequence in any of previous three columns should be highlighted.

    Regards

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    try this as an array formula somwhere and condition format cell d1 with condition that this cell >1

    =SUMPRODUCT((NOT(ISERROR(SEARCH(LEFT(d1,4),A1:c100,1))))*1)
    not a professional, just trying to assist.....

  3. #3
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    A simple conditional formatting
    Formula Is
    Please Login or Register  to view this content.
    Patterns Yellow

    HTH
    Carim

  4. #4
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    =AND(MATCH("*"&LEFT($D1,4)&"*",$A1:$C1,0),D1<>"")

    which assumes that you are formatting col D cells

+ 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