LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Highlighting rows in a range where ID code does not exist in secondrange...

I need to highlight (e.g. by font or background colour) rows which
contain a value that is NOT present in a reference range.

Column S of the reference range contains an account ID code.

In the range being compared, I want to highlight new accounts which do
not exist in the reference range. The new range has a different
layout to the reference range because its a CSV file of payment data
downloaded from an assortment of third party web sites, but lets just
assume for the current example the ID code is in column C.

I know there are a variety of methods I could use including
highlighting all and then looping through the IDs in the reference
range, unhighlighting all rows where the ID appears in the new range.

But is that the fastest way?

What is the most efficient way to code for "if this ID code doesn't
appear in the reference list, highlight the row in bright blue"?

Travis
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code for Excel 2007 to hide rows based on sum of several rows not ina range Joe Gardill Excel Programming 2 August 29th 08 03:53 PM
Option Button Code (Highlighting Rows) tvh Excel Programming 5 August 8th 08 08:21 PM
range name does not exist scory Excel Discussion (Misc queries) 1 September 12th 06 01:17 PM
Compare a selected Range with a Named range and select cells that do not exist PCLIVE Excel Programming 1 October 18th 05 07:09 PM
does code for this exist? help please short_n_curly[_6_] Excel Programming 4 July 4th 05 01:39 AM


All times are GMT +1. The time now is 11:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"