1

I am trying to use conditional formatting to color a column based on the value of the column itself, plus another column. But I am having issues.

If the value in H is "Race Expense" and the K cell is empty, I want the K cell to be colored in red. But as you can see below, it is not working. The results I am getting (the colored cells) are incorrect.

spreadsheet sample

Here's my format condition:

formatting sample

Here's the actual formula (since you can not see all of it above):

=AND(($K667=""),($H667="Race Expense"))

Any ideas what's wrong?

1
  • 1
    Well, I feel like a complete idiot. That did it. Thanks! Commented Mar 21, 2018 at 14:45

1 Answer 1

1

Ok, so I feel like an idiot. Thanks to a comment on my original post the issue is solved.

Since my selected range was K666:K671, I had to modify my formula to use the first row of the range.

I was originally using this formula:

=AND(($K667=""),($H667="Race Expense"))

But by just changing it to this one it solved the issue:

=AND(($K666=""),($H666="Race Expense"))
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.