+ Reply to Thread
Results 1 to 4 of 4

Highlight Cell if any cells in row are empty

  1. #1
    Registered User
    Join Date
    01-11-2022
    Location
    United States
    MS-Off Ver
    MS 365 Standard for Mac
    Posts
    17

    Question Highlight Cell if any cells in row are empty

    Hello, I have another project I'm working on that I'd like some help with

    My associates have to report their sales per department from a list of different categories.
    (Any associate names used within the document are made for this example)

    Referencing the attached sheet:

    A1:G5 is how the default table should appear

    A9:G13 is how the table should appear when either some cells were not completely filled out, or they are filled out completely.
    -> Notice A11 is highlighted light orange when C11 is left blank
    -> Notice A13 is highlighted light blue when all cells are completely filled out

    A16:G20 is how the table should appear when all cells are completely filled out.

    Any help would be greatly appreciated!!!! Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Highlight Cell if any cells in row are empty

    Orange rule:

    =COUNT($B11:$F11)<COUNTA($B$9:$F$9)

    Blue rule:

    =COUNT($B11:$F11)=COUNTA($B$9:$F$9)

    Applies to: =$A$11:$A$13
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Highlight Cell if any cells in row are empty

    Select all the cells in column A that you want this to apply to, from A3 downwards, and then give them all a background colour of light orange. Then, with the same cells selected, click on Conditional Formatting | New Rule | Use a formula... , then put this formula in the dialogue box which pops up:

    =COUNT($B3:$G3)=6

    Click on the Format button | Fill tab and choose light blue, then OK your way out. Conditional formatting takes precedent over the manual formatting, so as soon as all the cells are filled in with numbers the colour will change to pale blue.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    01-11-2022
    Location
    United States
    MS-Off Ver
    MS 365 Standard for Mac
    Posts
    17

    Re: Highlight Cell if any cells in row are empty

    As always, you're very knowledgeable. Thank you Ali.

+ 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. [SOLVED] Code to Highlight Empty Cells in Range
    By RSa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2019, 10:47 PM
  2. [SOLVED] CF to highlight dupes; not fire for empty cells.
    By jomili in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2019, 02:05 PM
  3. [SOLVED] Highlight cells before checking if the cell is empty & send email
    By Jamesraywebber85 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-19-2018, 08:21 AM
  4. [SOLVED] Highlight First Empty Cell In a Row
    By b624333 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2015, 03:39 PM
  5. Highlight empty cells
    By MrEnigma in forum Excel General
    Replies: 5
    Last Post: 07-23-2012, 04:15 PM
  6. Highlight the empty cells
    By caspersuki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2011, 12:23 AM
  7. How can empty cells automatically highlight after 24 hours?
    By BT in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-17-2005, 06:06 AM

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