+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting formula

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    12

    Conditional Formatting formula

    Hello

    I have attached a formula example.
    I have this conditional formatting formula: =AND(ISNUMBER(C4:K4),ISNUMBER($L4)) when I put any number on cells C4 to K4 a soon as I put any number in cell L4 it becomes red.

    I need the same formula BUT excluding number ZERO (0) All cells C4:K4 and L4 excluding zero.

    Do I need a new formula to work with this one or can I use this one modified?
    Anyone knows how to do it?

    Many thanks in advance.

    Myna
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Conditional Formatting formula

    Maybe:

    =AND(ISNUMBER(L17),SUM(C17:K17)<>0)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-27-2012
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Conditional Formatting formula

    Thank you very much for your reply.

    With your formula: =AND(ISNUMBER(L17),SUM(C17:K17)<>0), any cell with 1 or higher cell L17 becomes red.
    I dont want any cell with 1 or higher, I need ALL cells filled with numbers 1 or higher for the L17 become red. L17 red only when ALL cells have numbers.

    Also cell L17 RED ONLY when I put number 1 or higher.

    Any ideas

    Myna
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Conditional Formatting formula

    Try this:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Conditional Formatting formula

    Quote Originally Posted by huuthang_bd View Post
    Try this:
    Please Login or Register  to view this content.
    @huuthang_bd
    Thức khuya thế !
    A slight amendment in your formula
    Please Login or Register  to view this content.
    to count the minus.
    Quang PT

+ 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