+ Reply to Thread
Results 1 to 5 of 5

Comparison Between Column Values and Highlighting with VBA Code

  1. #1
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Comparison Between Column Values and Highlighting with VBA Code

    I need your expert opinion on this. We have data like this;
    M column is unique data extracted from Column A as you can see.

    we want to compare Column N with Column O and if both of them match, then we need to highlight From Column M, N, O and P with red color (see highlight red in sheet).

    For example: For the Client Bryan in Column M if N = 1 and O = 1 then I need to apply the above highlight From Column M to P with red color. And by default if Column O is 0 (zero) then I need it to highlight with background color yellow (see highlight yellow in sheet).

    This i need to be applied/copied down to other rows below based on Last Row of Column M.

    we can do this using conditional formatting but its time consuming. Hence I need a VBA code to automate this thing to save a lot of time.

    Thanks everyone in this forum. I am learning a lot from this website, but some things are way beyond my scope of understanding and need excel experts opinion as always who are ready with their suggestions and come out to help us. Highly appreciate all of your efforts and time. Thanks again.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Comparison Between Column Values and Highlighting with VBA Code

    how do i modify this =AND($O2=0,ISNUMBER($O2)) ?

  3. #3
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Comparison Between Column Values and Highlighting with VBA Code

    as this even fills up all the blank cells with the formula...kind of stuck

  4. #4
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Comparison Between Column Values and Highlighting with VBA Code

    well...not even one response...so far.....hmmmm....

  5. #5
    Forum Contributor
    Join Date
    05-23-2017
    Location
    Bang, India
    MS-Off Ver
    MS Office 2007
    Posts
    221

    Re: Comparison Between Column Values and Highlighting with VBA Code


+ 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. Conditional highlighting based on comparison to business targets
    By pandyav in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-22-2015, 04:56 PM
  2. Replies: 1
    Last Post: 11-10-2014, 07:23 AM
  3. Comparison of 2 sheets from different workbooks and highlighting the differences
    By zsimur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2013, 07:31 AM
  4. [SOLVED] Contitional highlighting of range based on comparison
    By martix in forum Excel General
    Replies: 3
    Last Post: 09-28-2013, 07:24 PM
  5. Replies: 8
    Last Post: 05-15-2013, 04:50 PM
  6. [SOLVED] Validating missing numbers (highlighting comparison column)
    By LeeliCon in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 06-22-2012, 07:13 PM
  7. Highlighting Duplicate Values in a column
    By Flower R in forum Excel General
    Replies: 2
    Last Post: 12-07-2008, 01:16 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