A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Hanna,
The Applies to range on its own does not colour anything. It only tells Excel where to apply a rule, so you still need a formula rule that tests column D.
I would delete that rule and set it up again like this:
- Select the range you actually use, for example A1:Z500. I would not apply it to the whole sheet, because that slows Excel down and makes the rule harder to manage.
- Go to Home, Conditional Formatting, New Rule.
- Choose Use a formula to determine which cells to format.
- Enter this formula, using your own letter in place of A:
=$D1="A"
- Click Format, pick the fill colour you want, then click OK twice.
The dollar sign before D keeps the test on column D for every cell in the row, while the row number stays relative, so each row is tested against its own D cell. If your data starts in a different row, change the 1 in $D1 to that row number.
If you need a different colour for another letter, add a separate rule in the same way, for example =$D1="B".
One more check: make sure the entries in column D are only the single letter, with no extra space before or after it, because a space will stop the match.