+ Reply to Thread
Results 1 to 6 of 6

Conditionally format certain cells based on a specific rule (formula maybe)

  1. #1
    Registered User
    Join Date
    07-03-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    42

    Conditionally format certain cells based on a specific rule (formula maybe)

    I am trying to format cells in Column B,C,D,E with green fill and dark green text, based on a rule that a cell in Column F contains a date. Anyone can help out? I have attached an example sheet.
    Attached Files Attached Files
    Last edited by q988988; 02-26-2020 at 12:19 AM.

  2. #2
    Registered User
    Join Date
    07-03-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    42

    Re: Conditionally format certain cells based on a specific rule (formula maybe)

    Attachment 664568 Here is a photo of an example.

  3. #3
    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
    79,369

    Re: Conditionally format certain cells based on a specific rule (formula maybe)

    1. Select cell B5.
    2. Set up this CF formula rule: =$F5<>""
    3. Set the formatting required.. In the Applies To box, set the range e.g. =$B$5:$E$22
    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.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Conditionally format certain cells based on a specific rule (formula maybe)

    To be on the safe side, I would add =AND($F5<>"",TYPE($F5)=1) (avoiding any entry different from a number ( which is what dates really are))
    Last edited by Pepe Le Mokko; 02-26-2020 at 04:28 AM.

  5. #5
    Registered User
    Join Date
    07-03-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    42

    Re: Conditionally format certain cells based on a specific rule (formula maybe)

    Thank you.

  6. #6
    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
    79,369

    Re: Conditionally format certain cells based on a specific rule (formula maybe)

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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 format rule(s)
    By mkarrett in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2018, 10:23 PM
  2. Replies: 9
    Last Post: 06-23-2017, 12:59 PM
  3. Conditional format with more than one rule
    By maymano in forum Excel General
    Replies: 3
    Last Post: 08-29-2013, 05:21 PM
  4. Replies: 3
    Last Post: 08-04-2012, 07:22 PM
  5. Excel 2007 : Copying Conditional Format Rule
    By BishopS in forum Excel General
    Replies: 5
    Last Post: 05-31-2011, 11:21 AM
  6. Adding to TODAY() in a conditional format rule
    By jdog85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2011, 09:42 AM
  7. Conditional Format - Formula Rule
    By 2709236 in forum Excel General
    Replies: 2
    Last Post: 09-15-2009, 06:17 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