Conditional Formating a column

Solved/Closed
Ian - 8 Oct 2015 à 09:03
 Ian - 8 Oct 2015 à 10:32
Hello,

I wish to conditionally format a column depending on another columns date value in excel 2010

Column A has a target date and Column B has the completion date. I want column B to show red if target date is greater than completion date and green if it is less than or equal to completion date.

I have managened to do this to two corresponding cells but not the whole column




1 response

Mazzaropi Posts 1985 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
8 Oct 2015 à 09:34
Ian, Good morning.

The logic that you described is very unusual to be applied in this case.
It is opposed to the type of control that is done.
But given your exact request, do:

Select dates at column B
Conditional Format Menu
Using Formula

Rule 1
=A2>B2
Format; Fill: RED

Rule 2
=A2<=B2
Format; Fill: GREEN

OK

Is this what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Many thanks all sorted