Conditional Formatting: If A1 equals A2 then A3 needs to fill in Red

Kirstie479

New Member
Joined
Jan 7, 2014
Messages
2
Urgent help please! I have a GCSE level of knowledge of excel, and I'm working potenial pay for the employees in a company I work in. Some have their pay changing, some stay the same. I need the ones that stay the same to be marked in red on a separte column. I need a rule the do this, not manually because theres a lot of employees.... :(

Example:
A1 = 6.70 B1 = 6.70 C1 = [red]
A2 = 8.40 B2 = 8.40 C2 = [red]

If it isn't possible, then how can I do it so that:

A1 = 6.70 B1 = 6.70 [red]
A2 = 8.40 B2 = 8.40 [red]

Any help would be greatly appricated!!
Thanks,
Kirstie479
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

L33

Board Regular
Joined
Jul 2, 2008
Messages
106
Assuming you're using Excel 2007+ here: with C1 selected, go to the Conditional Formatting option on the Home ribbon and select New Rule. Select the last option "Use a formula..." and then in the field below enter the following: =A1=B1

Click the Format button and select your desired shade of red from the Fill tab. Use the fill handle to drag the conditionally formatted cell down as far as you need. You may want to consider an alternative to this approach if your data's going to be used for anything more involved (colour's fine if you just want a quick visual, but if you want to count how many are changing you'd only be able to do so by filtering and seeing how many records match, you couldn't use formulas or pivot tables to do so with this method.)

(By the way, your subject line is at odds with the example you then give!)
 

Kirstie479

New Member
Joined
Jan 7, 2014
Messages
2
That works great thank you!! Saved me a lot of time.

(And oh yeah... sorry about that! :D)
 

Forum statistics

Threads
1,136,354
Messages
5,675,296
Members
419,559
Latest member
BraytonM

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top