+ Reply to Thread
Results 1 to 3 of 3

Ignoring cells with "-" when applying conditional formatting?

  1. #1
    Registered User
    Join Date
    02-27-2008
    Posts
    44

    Ignoring cells with "-" when applying conditional formatting?

    I have a table in which each cell contains a forumla to compare one number with another and return the % difference. If there's no data to compare against or an error the formula returns "-". I've applied conditional formatting so that any % increases over 6% or any decreases below 5% are highlighted, but it's also highlighting the cells with "-" in them.

    Any ideas how I can get the cond. formatting to ignore these and leave them unshaded? I've tried adding another condition but it doesn't recognise the "-".

    Thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try using zero as the condition
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    07-14-2006
    Posts
    24
    Dear Jfarlow,

    Pls try with the formula below in conditional formating
    =ISNUMBER(A2)=FALSE

    It is working, when I put that condition in 1st level.

    cheers,
    YKnet

+ 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. Counting Cells with Conditional Formatting
    By jcherian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2008, 06:03 PM
  2. conditional formatting with blank cells
    By maacmaac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2008, 12:22 PM
  3. Replies: 2
    Last Post: 11-02-2007, 12:03 PM
  4. Applying Conditional Formatting to Data Validation
    By kcstewart in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-28-2007, 06:46 PM
  5. Conditional formatting macro (highlight macro)
    By c991257 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2007, 02:46 PM

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