+ Reply to Thread
Results 1 to 4 of 4

conditional formatting for blank cells

  1. #1
    Registered User
    Join Date
    06-28-2012
    Location
    sheffield
    MS-Off Ver
    Excel 2007
    Posts
    6

    conditional formatting for blank cells

    I'm sure that there is a simple solution to this, but I've not yet found it and hoping you can help.

    I want to apply conditional formatting to cell I6 if it is blank and cells E6,F6,G6,H6 have a number in one or more of them that is equal to 3,4, or 5

    I think I have the start of the formula required :

    =AND(<6E6:H6>2,.........
    but I seem unable to get the second part.

    In anticipation, many thanks for your help.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: conditional formatting for blank cells

    select i6
    insert name define pick a name eg sally (i think its name manager on formula tab)
    refers to
    =AND(ISBLANK(Sheet1!I6),OR(Sheet1!E6={3,4,5},Sheet1!F6={3,4,5},Sheet1!G6={3,4,5},Sheet1!H6={3,4,5}))
    now use conditional format on i6 of =sally
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-28-2012
    Location
    sheffield
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: conditional formatting for blank cells

    I have managed to get the below line to work for the cell I6 as a conditional format if the below formula is true

    =AND(6<$E$6:$H$6>2,ISBLANK($I$6))

    The above is all referring to row 6
    How do I get it to now transpose all the way down to row 46?

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: conditional formatting for blank cells

    You might want to check your results, that formula will always return true if I6 is blank regardless of the values in the other cells.

    Try =AND(ISBLANK($I6),OR($E6:$H6=ROW($3:$5)))

    Applied to the whole range you want conditionally formatted.
    Last edited by jason.b75; 07-04-2012 at 10:16 AM.

+ 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