+ Reply to Thread
Results 1 to 5 of 5

If R column value is unique then higlight entire row

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    If R column value is unique then higlight entire row

    If any value in the R column is unique, and not repeated anywhere else in the column (don't care about the rest of the worksheet) then highlight the row red.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,849

    Re: If R column value is unique then higlight entire row

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,700

    Re: If R column value is unique then higlight entire row

    Select all the columns you want highlighted and then use the Conditional Format formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note: for this to work correctly, it must be applied to all rows from row 1 down. If, for example, you want to exclude a header row, you would use, for example:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You may need to adjust the last row number up from 1000.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,700

    Re: If R column value is unique then higlight entire row

    Sorry, didn't notice you wanted a VBA solution. May I ask why you want/need VBA?


    Regards, TMS

  5. #5
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Re: If R column value is unique then higlight entire row

    Quote Originally Posted by TMS View Post
    Sorry, didn't notice you wanted a VBA solution. May I ask why you want/need VBA?


    Regards, TMS
    It's part of a software package that inserts a column in there and combines a string (A2&D2&G2) and flags any unique strings.

    The program will load workbooks sent from other departments that are always in the same format.

+ 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. Replies: 3
    Last Post: 09-17-2015, 06:02 AM
  2. Replies: 12
    Last Post: 09-16-2015, 12:35 PM
  3. [SOLVED] Delete entire Rows if Column value is unique OR Duplicate is less than three
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2014, 12:09 PM
  4. Search an entire column for a value, return entire row.
    By jdsmith1895 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2012, 12:53 PM
  5. Higlight Column using Conditional Format
    By sanil1979 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2012, 03:04 AM
  6. Replies: 4
    Last Post: 10-07-2012, 06:56 AM
  7. Search entire column, return entire row
    By Chris Gwynne in forum Excel General
    Replies: 0
    Last Post: 08-04-2011, 11:21 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