问题
I have two columns in Excel as shown on the picture below.
I need to apply conditional formatting in this way:
if row in B column contain "1", the cell A on the same row should change its color. This needs to be applied only for the cell in A column, not whole row. Is there any option how to do this?
回答1:
Follow these steps and your problem will be solved ;)
- Set your formula to
=$B2=1 - Select the fill color
Yellow - Applies to
=$A$2:$A$7 - Once you click Apply, make sure your formula hasn't changed! (always happens to me)
来源:https://stackoverflow.com/questions/19769277/excel-conditional-formatting-based-on-other-column