+ Reply to Thread
Results 1 to 5 of 5

Formatting and empty cells

  1. #1
    Registered User
    Join Date
    12-27-2008
    Location
    Christchurch, New Zealand
    Posts
    92

    Formatting and empty cells

    Column A contains numerical values. I want to highlight all values that are less than 2. I have tried conditional formatting and works fine apart from the fact it highlights all empty cells. Is there a way to only highlight cells with a value and leave empty cells blank?

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Try,

    In the CF use

    =and(A1<>"",A1<2)

    or

    =AND(A1>0,A1<2)

    depending on whether the cell is truly empty
    Ed
    _____________________________
    Always learning, but never enough!
    _____________________________

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi Mike,
    How's the weather down South?
    There's a light drizzle up in the 'Naki.

    Try
    Please Login or Register  to view this content.
    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    12-27-2008
    Location
    Christchurch, New Zealand
    Posts
    92
    Tried both solutions and both work fine. Thanks for your help, much appreciated.

    Weather is always good down here :-) Enjoy the UK broro183.

  5. #5
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    Awesome, thanks for the feedback :-)

    LOL, of course it is - "yeah right" ;-)
    I grew up in Geraldine so I know that "always" is not quite true. In saying that though, I was in Geraldine & down at Aviemore from the 24th to the 2nd & it was FANTASTIC everyday.

    Rob

+ 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