Share via

Excel Conditional Formatting won't work

Anonymous
2024-08-09T21:32:50+00:00

I would like to write a formula that turns the background green in cells C4:F4 when cells C4:E4 each have a value of 0.

The data in C4:E4 is derived from the formula series =COUNTIF('Property 1'!F2:F30,"XXXXXXXX") in columns D to G each cell in C4:E4 has the same formula with the only difference being the text within the quotation marks that I have marked X.

For some reason it won't work. I have made sure cells C4:F4 are numbers

and not text.

Microsoft 365 and Office | Excel | For business | 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

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-08-09T22:36:43+00:00

    You are a legend, thank you!!!

    Was this answer helpful?

    0 comments No comments
  2. HansV 462.6K Reputation points
    2024-08-09T21:55:01+00:00

    Change the formula in the Conditional Formatting rule to

    =AND($C4:$E4=0)

    Was this answer helpful?

    0 comments No comments