+ Reply to Thread
Results 1 to 2 of 2

(Another) Conditional Formatting Query

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Leicester
    MS-Off Ver
    Excel 2010
    Posts
    119

    (Another) Conditional Formatting Query

    Hi,

    Background: I have a spreadsheet that compares data from two systems to check for differences, it often brings up 0 values, which get highlighted in yellow

    Cells M:P will often be :
    M N O P
    0.00 0 0.00 0

    I know I can apply conditional formatting thus: =$M3:$P3=0 and all will turn yellow, if the total is zero.

    But when I copy this down all empty cells also become yellow, is there a way to avoid this,
    I know it is a purely cosmetic issue, but would like to know how to resolve it.

    Have attached edited example.

    Thanks,

    Dan
    Attached Files Attached Files
    Last edited by dshilan; 05-05-2011 at 08:23 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: (Another) Conditional Formatting Query

    How about?

    =AND(M3<>"",M3=0)

    If you select M3 to P3 and apply the above, then it will auto update to the relative cell reference it is in, then you can copy down the formatting.

    Or you can preselect the entire range starting at topleft with M3 and apply the conditional formula above.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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