+ Reply to Thread
Results 1 to 4 of 4

Using Conditional Formatting To Detect Changes

  1. #1
    Registered User
    Join Date
    09-08-2014
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    2007
    Posts
    2

    Using Conditional Formatting To Detect Changes

    I have a spreadsheet that I will send to multiple people to make changes to and I wanted to use Conditional Formatting to highlight the changes. I want to avoid using Macros.

    My idea was to have my data to be updated on Sheet1 and have the original data on Sheet2, then do the following conditional formatting on Sheet1 to have the cells that differ between the two sheets highlight in yellow.

    =INDIRECT("Sheet1!"&SUBSTITUTE(CELL("address"),"$",""))<>INDIRECT("Sheet2!"&SUBSTITUTE(CELL("address"),"$",""))

    Example of what this cell should be is:

    =INDIRECT("Sheet1!A1")<>INDIRECT("Sheet2!A1")

    So if cells A1 in the 2 sheets are different then it will highlight yellow in Sheet1.

    This formula is not working, when I change the <> to =, it highlights all the cells. Any help?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,943

    Re: Using Conditional Formatting To Detect Changes

    Why not just

    =A1<>Sheet2!A1

    updating A1s to the address of the active cell at the time that you apply the CF?
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    09-08-2014
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    2007
    Posts
    2

    Re: Using Conditional Formatting To Detect Changes

    Hi Bernie,

    When I try your formula, it gives me the following error:

    "You cannot use references to other worksheets or workbooks for Conditional Formatting criteria."

    Also, I was avoiding hardcoding cells because my spreadsheet has about 250 columns and 5000 rows and I want any cell that is changed to be highlighted yellow.

    Thanks.

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,943

    Re: Using Conditional Formatting To Detect Changes

    Sorry - I was thinking 2010 and 2007 used the same CF - I skipped from 2003 straight to 2010.

+ 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 to detect cell with hyperlink and then to change color
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 11:32 AM
  2. Detect Conditional Format Fill Colour
    By teekay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2011, 04:12 PM
  3. Detect cell conditional formatting state of specific condition
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-30-2009, 05:57 PM
  4. IF function to detect formatting
    By jodapo in forum Excel General
    Replies: 1
    Last Post: 09-14-2009, 02:36 AM
  5. Text color detect from Conditional Formatting?
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2007, 02:52 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