Excel - programm cells to change colour based on another cell
问题 I am trying to create a formula for Excel whereby a cell would change colour based on the text in the previous cell. So for example if cell B2 contains the letter X and then B3 is Y, I would like B3 to turn green. Equally, if B2 contains X and B3 contains W I would like B3 to turn red. Any ideas much appreciated! 回答1: Select cell B3 and click the Conditional Formatting button in the ribbon and choose "New Rule". Select "Use a formula to determine which cells to format" Enter the formula: =IF