+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting comparing one line to the one below

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2008
    Posts
    34

    Conditional formatting comparing one line to the one below

    Morning excel geniuses (genii?),

    I have a sheet where data is generated daily. The line of data ends with the date at Column AW. If an error occurs the line is generated again and the previous line must be checked by hand.

    I'm therefore looking for a way to make a row highlighted if the date in column AW matches the date in the line below it.

    There are 100s of lines to go back through (800+) and needs to update each day with a new line so I'm assuming I'll have to apply the formatting to the entire sheet.

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Conditional formatting comparing one line to the one below

    hi

    this formula in conditional formatting should highlight any cell in a row where the value in column AW of that row is the same as in the row below, and that row is not blank.

    =AND($AW1<>"",$AW2=$AW1)

    you could apply the formula to every used cell in the sheet, but I'd suggest applying it only to the cells in column AW if that's where you check for duplicates.

+ 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 formatting comparing two dates
    By watfordo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2018, 01:42 PM
  2. Conditional Formating- Comparing Text to replace duplicates with line
    By qwertypo in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-04-2012, 01:28 AM
  3. Conditional Formatting - Comparing Two Cells
    By NahRoots in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 08:42 PM
  4. [SOLVED] Conditional Formatting Comparing Cells Within A Row
    By barneyf in forum Excel General
    Replies: 2
    Last Post: 10-05-2012, 03:38 PM
  5. Comparing grades and using conditional formatting
    By simplysimonm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2011, 07:02 PM
  6. Conditional Formatting - comparing worksheets
    By HBF in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-12-2008, 12:28 PM
  7. Conditional Formatting-Comparing Two Columns
    By Tom K in forum Excel General
    Replies: 3
    Last Post: 05-08-2006, 08:03 AM

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