+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting when a range of cells is blank.

  1. #1
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Conditional Formatting when a range of cells is blank.

    Dear Forum.

    Wondering if someone could help me with correct conditional formatting as with the googling I have done and tried there are in various similar thread but are different to what I’m looking for and I’m having difficultly modifying to suit.

    I have attached a sample workbook with a sample of what I’m looking to do. In the workbook there are two sheets. “Sheet1” is very similar to my real world scenario (just simplified for putting on the forum. “Sheet2” is basically what I’d be looking for it to look like when the correct Conditional Formatting would be used, but since I can’t get the correct Conditional Formatting I have just manually used fill to indicate the intent.

    In layman’s terms (rather than Excel speak), what I’d be looking have the Conditional Formatting say is a combination of the following:
    (a) For a given row if cell E is blank then don’t fill anything.
    (b) For a given row if cell E is not blank and there is nothing in cells J:P of that row then fill in Red.
    (c) For a given row if cell E is not blank, fill with Blue the relevant cells from J:P that have a number (derived from their formula).

    So, in Sheet2 of the sample, cells J8:P8 are not filled since there is noting in cell E8.

    In row 9 J9 is filled Blue because it is populated with 3 (derived from it’s formula). Similar for cells K10, L11, M18, J23, etc.

    In row 16 the cells are filled Red as while there is something in cell E16, there isn’t anything in J16:P16.

    Assistance with this would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Conditional Formatting when a range of cells is blank.

    b) applied to $E$8:$P27
    Please Login or Register  to view this content.
    c) applied to $J$8:$P$27
    Please Login or Register  to view this content.
    Last edited by protonLeah; 09-16-2020 at 12:57 PM. Reason: correction to (b)
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Conditional Formatting when a range of cells is blank.

    That is great Ben! Thank you very very much!! That will make for a nice useful workbook in my real world scenario.

    Just a note in case someone else ends up referring to this thread looking to accomplish the same - there was just a small typo in part (b) of your response in regards to the 'applied to...' portion. Should be $E$8:$P$27 rather than $E$8:$e$P27.

    Again, thank you very much!!

+ 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. Conditional Formatting - Color Formatting for Blank Cells
    By mlbdc2012 in forum Excel General
    Replies: 10
    Last Post: 02-10-2015, 06:28 AM
  2. Replies: 3
    Last Post: 02-09-2015, 09:00 AM
  3. Conditional Formatting. No formatting for Blank Cells
    By missellyt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2014, 06:42 AM
  4. Conditional Formatting Range of Cells If they are Blank
    By schmidt1962 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2013, 06:37 PM
  5. Replies: 5
    Last Post: 05-18-2013, 07:49 PM
  6. [SOLVED] 3 Outcomes Conditional Formatting based on 4 blank/non blank cells
    By Supraman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2012, 06:21 AM
  7. Conditional Formatting if 6 or more cells in a range are not blank
    By marquella in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2011, 03:08 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