+ Reply to Thread
Results 1 to 6 of 6

Formula to automate highlighting empty column cells based on values

  1. #1
    Registered User
    Join Date
    04-23-2020
    Location
    Vancouver, BC
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Formula to automate highlighting empty column cells based on values

    First post here. please advise of any errors. If it is posted wrong section, please move it to correct section.

    I have to automate the yearly staff absent calendar. This spreadsheet is just a snapshot of whole year.

    Breakdown of rows and columns,
    Row A2 to A14 - contains staff Names
    Columns B to F - days of the week

    A16 row - gives total of the staff away for that day
    A17 cell - allowable limit for staff (25% of the staffs). The formula used =((COUNTA(A2:A14))*25)/100

    B2 to F14 range of cells - staff marked on Vacation/away.
    1 = vacation choice. These cells are colour coded based on staff choices
    Y = staff who called in sick or away for other reasons for that day.

    Reason for posting here:
    I need help in automating the process of highlighting the empty cells of each column (B to F ) where the Total (row 16) is equal or greater than A17 (allowable limit for staff 25%).

    I don't want to use VBA as I have no knowledge. I want to rely on formulas only.

    Is it possible ??

    Thank you for looking into my query. I am using MS Office 2010.
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Formula to automate highlighting empty column cells based on values

    I think this is what you're looking for?
    I inserted the textbos in your file with your question for my use, you can remove it
    Attached Files Attached Files
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    04-23-2020
    Location
    Vancouver, BC
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: Formula to automate highlighting empty column cells based on values

    Thank you very much, Keebellah.
    could you please advise explain, how it is done.
    Is the conditional formatting applied to each column ?

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Formula to automate highlighting empty column cells based on values

    Select the range and then the conditional format and manage rules, you can see how it works
    It’s simple logic

  5. #5
    Registered User
    Join Date
    04-23-2020
    Location
    Vancouver, BC
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: Formula to automate highlighting empty column cells based on values

    Thanks again.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Formula to automate highlighting empty column cells based on values

    I tried to write it down and hope this helps to shed some light on Conditional formatting and how I did this one for you.
    I'm not that much of a 'teacher' more a doer but I did my best.
    Hope it can help you and implement more conditions
    Attached Files Attached Files

+ 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 is highlighting empty cells that contain formula
    By rikkyshh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2019, 11:49 AM
  2. Replies: 11
    Last Post: 10-11-2019, 12:47 PM
  3. [SOLVED] Highlighting a cell based on 2 different cells values
    By athinaida in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2018, 12:41 PM
  4. Highlighting consecutive cells based on values
    By thelegazy in forum Excel General
    Replies: 2
    Last Post: 07-22-2013, 05:24 PM
  5. Replies: 3
    Last Post: 12-21-2012, 05:38 AM
  6. Can I automate this VBA by Highlighting cells
    By rabell00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2012, 12:48 AM
  7. [SOLVED] Loop to find cells based on criteria, enter formula into next empty column
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2012, 03:32 PM

Tags for this Thread

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