Consulting

Results 1 to 3 of 3

Thread: Conditional formating if the cell is empty.

  1. #1
    VBAX Contributor
    Joined
    Nov 2014
    Posts
    121
    Location

    Post Conditional formating if the cell is empty.

    Hi Experts
    I am looking for a conditional formatting formula for the below criteria.
    Say if there is a value in column A cell A1, then if any cell say B1, C1 and D1 contains empty cell, it should change the color of that empty cell.
    Regards,
    JD

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Select say B2:D1000 (change the 1000 to your range)
    The active cell should be B2, this is important.
    Then while the above range is selected: Home tab, conditional formatting, New Rule…, Use a Formula to determine which cells to format then copy this formula:
    =AND(NOT(ISBLANK($A2)),ISBLANK(B2))
    Choose your format, click OK.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    VBAX Contributor
    Joined
    Nov 2014
    Posts
    121
    Location
    Hi p75cal

    Thanks for the code.. I find another one which fits into the requirement as well \

    "=and(B2="",$A2<>"")"

    Regards,
    JD

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •