1

I want to have a cell highlighted green if the next cell is greater than the current cell. This formatting should apply for an entire column.

E.g. if A2 > B2 then A2 should become green. If A3 > B3 then A3 should become green, and so on.

Note: I want to not have this done by individual formatting, but by a general rule.

1
  • Hey Kavin, I noticed this is your first question: Welcome to StackOverflow! I did some edits to your question because I had problems understanding it. I highly recommend you check out our guide How do I ask good questions? Commented Apr 13, 2020 at 18:12

1 Answer 1

3

Go to Conditional formatting, add new rule with type Use a formula..., add formula =$A1>$B1, into Applies to add range =$A:$A. That's all.

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Trying to look for an equivalent solution in Excel for Teams but =$A:$A seems to be an invalid range... let me see if I can find something...
What worked for me is manually specifying A2:A5 as a range, though A:A seems to be the preferred format to refer to ranges if you don't have cell A1 as a header...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.