Results 1 to 4 of 4

Thread: How to highlight identical cell value of one column in another column?

  1. #1
    Join Date
    Nov 2009
    Posts
    140

    How to highlight identical cell value of one column in another column?

    Hi,

    I have do some transaction over excel. In which I need highlight identical cell value of one column in another column.
    Anybody has sound knowledge about the Microsoft excel? If yes then please let me the procedure to highlight identical cell value in two column.

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: How to highlight identical cell value of one column in another column?

    Hi friends,

    I think you should go for macro. If you don't know any excel macro to highlight identical cell value of one column in another column, don't worry please review following excel macro:
    Sub exceltest()

    Dim rngdemo As Range,, cfd As Range, a As Range, rngdemo1 As Range
    Worksheets("block").Activate

    Set rngdemo = Range(Range("D2"), Range("D2").End(xlDown))
    Set rngdemo1= Range(Range("B2"), Range("B2").End(xlDown))

    For Each a In rngdemo

    Set cfd = rngdemo1.Cells.Find(what:=a.Value, lookat:=xlWhole)

    If Not cfd Is Nothing
    Then
    a.Interior.ColorIndex = 4
    Next c
    End Sub

  3. #3
    Join Date
    Apr 2008
    Posts
    4,088

    Re: How to highlight identical cell value of one column in another column?

    Hi,

    You need to apply some specific formula to each cell. The below excel formula will show whether cell value present in the other column or not:
    NOT (IsError(vlookup
    ([cell value from list of first column],[cell value from list of second column],1,false)))
    Try this excel formula and let know if your are successful in it or not.

  4. #4
    Join Date
    Jan 2008
    Posts
    3,755

    Re: How to highlight identical cell value of one column in another column?

    Hi,

    I am not expert in the Microsoft excel. But somewhere I read the formula to highlight identical cell value of one column in another column, and which is "IsNumber(match(Column 2nd,column1:0,1))".
    And you will need to apply the this formula to those values for which you want to search the occurrence in the another column of the excel.

Similar Threads

  1. Replies: 1
    Last Post: 10-04-2012, 11:16 PM
  2. Create button to navigate to next blank cell in a column
    By Brad B in forum MS Office Support
    Replies: 1
    Last Post: 21-02-2012, 12:10 AM
  3. Replies: 1
    Last Post: 25-01-2012, 06:27 PM
  4. Replies: 3
    Last Post: 27-11-2010, 05:25 AM
  5. mysql update column with another column
    By Gunter in forum Software Development
    Replies: 3
    Last Post: 23-05-2009, 09:44 AM

Tags for this Thread

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
  •  
Page generated in 1,713,267,786.65760 seconds with 17 queries