+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting #REF errors when removing cell

  1. #1
    Registered User
    Join Date
    05-12-2020
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    2

    Conditional Formatting #REF errors when removing cell

    Hi,

    I am trying to color code names based on a central name sheet.
    So in the central name sheet "Peter" is in Cell A2.
    After creating a formatting rule based on A2, Peter now has an assigned color anywhere in the document.
    However, when I delete Peter from A2, the Conditional Formating formula now shows a #REF error.
    Is there a way to keep this formatting rule intact, so that it keeps looking at A2 even though this cell is deleted?

    I hope I made myself clear and that you can help me with this!

    Thanks,

    Yurang

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Conditional Formatting #REF errors when removing cell

    you can use references like INDEX($A:$A;2) or INDIRECT("A2") etc

  3. #3
    Registered User
    Join Date
    05-12-2020
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    2

    Re: Conditional Formatting #REF errors when removing cell

    Thanks!! This totally worked, you saved my from a lot of headache!

+ 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. hide #DIV/0 errors with conditional formatting
    By hwishman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-14-2017, 02:21 PM
  2. Conditional Formatting Logic Errors
    By traftacana in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-04-2013, 02:02 PM
  3. Conditional Formatting Using Names Ranges - No Errors?
    By brokenbiscuits in forum Excel General
    Replies: 0
    Last Post: 06-28-2012, 04:37 AM
  4. Conditional Formatting and Errors
    By Jonathan78 in forum Excel General
    Replies: 5
    Last Post: 05-29-2010, 01:40 PM
  5. Conditional Formatting w/ errors
    By nesthead98 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2009, 03:56 PM
  6. hide errors using iserror and conditional formatting
    By jcavigli in forum Excel General
    Replies: 4
    Last Post: 07-06-2008, 12:15 AM
  7. Conditional Formatting for errors
    By Zyphon in forum Excel General
    Replies: 3
    Last Post: 09-25-2007, 05:59 PM

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