Conditional Formatting a column with Blank cells based on text in another column.

Anonymous
2025-04-22T17:17:37+00:00

The columns titled Spfld, Dover and Boston are item numbers.

The column titled Status indicates if the item is active.

I need all blank item number cells for items where the product status is "active" to be filled with a color.

Any item with a product status denied should have no color.

Product Name Spfld Moline Chicago Product Status
Test one 45897 85331 Active
Test two Denied
Test three 59318 Active
Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. EmilyS726 186.4K Reputation points Independent Advisor
    2025-04-22T20:44:03+00:00

    You are welcome. Did that resolve the issue ?

    0 comments No comments

10 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-04-22T19:03:13+00:00

    Thanks, this is as close as I have been able to get to what I need. Is there a way to make it recognize word Active instead of Denied?

    0 comments No comments
  2. Anonymous
    2025-04-22T19:14:21+00:00

    Can you send me the formula, so I do not have to download anything?

    0 comments No comments
  3. EmilyS726 186.4K Reputation points Independent Advisor
    2025-04-22T19:15:55+00:00

    Yes of course. Here you go.

    0 comments No comments
  4. Rich~M 20,355 Reputation points Volunteer Moderator
    2025-04-22T19:22:57+00:00

    This formula will look for the word "active" in Column E and will work whether there is other content in the cell or not.

    =AND(B2="",IFERROR(SEARCH("active",$E2),0)>0)

    Image

    NOTE: Make sure that the range you select before entering the Conditional Formatting begins in Cell B2 that is referred to in the formula or the Conditional Formatting will end up formatting the wrong rows and will not format the correct cells. Those two things must match. It appears to me that you started your selection in Row 1 (B1) rather than Row 2 (B2) in your screenshot which makes all the formatting off by up one row.

    1 person found this answer helpful.
    0 comments No comments