+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting Across Worksheets

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    UK
    Posts
    3

    Unhappy Conditional Formatting Across Worksheets

    I've had a search through the forum and can't quite find what I'm after, so apologies if this has been answered before and I simply can't find it!

    In one Worksheet, I have a list of contacts, all of which have a unique (alphanumeric) reference codes in column A.

    In another worksheet, I have a list of these reference codes for contacts interested in a product (imported from another source).

    I'm trying to get Excel to conditionally format the rows in the first Worksheet (where the contact details are) depending on whether the reference number exists in the exists in the imported data in the second worksheet. The second worksheet also has the reference codes in column A.

    I can't get the above to work at all...

    Here's the kicker though...I need it to work in a template spreadsheet I have. So, I have a spreadsheet empty of data, import the contacts into one worksheet, then eventually import the interested contacts into the other worksheet, thus the conditional formatting needs to work on the entire column ($A:$A) and not a specific range. The number of contacts and interested contacts can vary greatly...anything from a couple of hundred to a good few thousand.

    Any help much appreciated.

    Oh, and I'm using Excel 2004 (Mac)...
    Last edited by PsiBorg6; 10-23-2008 at 05:19 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    you can conditional format across worksheets using a named range
    so conditional format a1 sheet1 to colour red if it matches a value in sheet 2 col a
    use formula is
    =MATCH(A1,martin,0) in that example martin is a named range refering to Sheet2!$A:$A

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    UK
    Posts
    3
    That's great, thanks...it's highlighting those I want it to highlight in column A, but how do I get it to highlight the entire row of data?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    highlight the whole range you wish to cf
    use
    =MATCH($A1,martin,0)

  5. #5
    Registered User
    Join Date
    10-23-2008
    Location
    UK
    Posts
    3
    Thankyou. Works great.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1