+ Reply to Thread
Results 1 to 15 of 15

Conditional Formatting Formula

  1. #1
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Conditional Formatting Formula

    I've been trying to get a conditional format that will highlight a range of cells if D67 is not blank and B67 is blank.

    I tried the following and it's not working.

    ="AND(NOT(ISBLANK(D67)),ISBLANK(B67))"

  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,728

    Re: Conditional Formatting Formula

    Try this:

    =AND(D67<>"",B67="")
    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
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    Thank you for the quick response. It worked somewhat... The additional item I need to have cells B67-F67 turn color if the condition is met. Right now just B67 turns color when condition is met.

    Formula: =AND(D67<>.... turn red Applied to =$B$67:$F$67 Stop if True is checked
    Last edited by THoxsey; 07-28-2017 at 08:27 AM.

  4. #4
    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,728

    Re: Conditional Formatting Formula

    Have you set the scope of the rule to the entire array?

    $B$67:$F$67

    You will also need to change the rule to this:

    =AND($D67<>"",$B67="")

  5. #5
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    Yes, I have the array set up and it still only highlights B67

  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
    80,728

    Re: Conditional Formatting Formula

    You can't have it set up correctly, then. How about attaching the file here? I'll have a look for you.

  7. #7
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    I am very new to this and I responded to your email with an attachment but not sure if that was the correct way to send the attachment. If not, please explain how to attach a file in the Thread.

  8. #8
    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,728

    Re: Conditional Formatting Formula

    I haven't contacted you at all via E-mail or via a private message, so who have you sent it to?

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  9. #9
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    I have uploaded the file and I see it on the screen as being uploaded. I did not see any instructions on how to attach to this tread.

  10. #10
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    I am hoping this worked.
    Attached Files Attached Files

  11. #11
    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,728

    Re: Conditional Formatting Formula

    I can't help without knowing the password.

  12. #12
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    Sorry..... "2018" is the password.

  13. #13
    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,728

    Re: Conditional Formatting Formula

    I think the rule was the wrong way round. Try this:

    =AND($B67<>"",$D67="")

  14. #14
    Registered User
    Join Date
    07-28-2017
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    12

    Re: Conditional Formatting Formula

    Yea.... That worked.... Thank you very much...

  15. #15
    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,728

    Re: Conditional Formatting Formula

    Glad to have helped!

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

+ 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. Replies: 3
    Last Post: 06-19-2015, 07:16 AM
  2. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  3. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  4. If Formula - conditional formatting - three different formatting rules
    By sharper1989 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-25-2014, 04:49 PM
  5. Replies: 3
    Last Post: 11-28-2013, 02:11 AM
  6. Replies: 1
    Last Post: 07-19-2012, 05:37 AM
  7. [SOLVED] How do I do a complex conditional in a conditional formatting formula
    By Ray Stevens in forum Excel General
    Replies: 6
    Last Post: 03-12-2006, 06:30 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