Conditional Formatting based on Separate Column (2024)

From your screenshot, I do not know when "New Hire" and those column should be highlighted.

I think, if you are new to excel, you may not have the ideas of "Relative Reference", "Absolute Reference" and "Mixed Reference".

Using Contional Formatting, in the rules, you can use the mixed reference address. For example, I guess you want to highlight Column M whenever Column L is "Transfer". Your conditional formatting rule in Column M can be do it in this way:

  1. Select M2 (The cell at row 2 in column M)
  2. Home > Styles > Conditional Formatting > Manage Rules
  3. New Rule
  4. "Use a formula to determine which cells to format" (you probably have done it)
  5. This step is one of the key that you need to know. You can type the following formula
    =$L2="Transfer"

    The above formula is using Mixed reference address.

  6. Apply the format you want
  7. Click ok button
  8. Now, you should be still in Conditional Formatting Rules Manager dialog. You can see "Applies to", you can select the cells that you want the rule applies to, i.e. $M$2:$M$100.
  9. click ok.

In the above steps, step 5 and 8 are related to each other. In step 5, the formula locks Column L, but not locks on rows. If that formula apply to another row, e.g. applying on M3, the formula will actually becomes

=$L3="Transfer"

and now, step 8 says that the rule (you may think of the formula) is going to apply on M2 to M100. The rule will have adjustment according to the rows. Hence, 1 conditional formatting rule can apply to 99 cells in column M from row 2 to row 100.

You try to update your rules to see if it is the "less footsteps" approach.

Conditional Formatting based on Separate Column (2024)
Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6209

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.