close

iI would like to create a training matrix that displays in a traffic light
i.e red = needs retraining. Green= trained. yellow = being trained. Each
cell would change to the required colour by typing R date of training
completed would change this cell from green to red highlighting the need for
retraining. date of training completed = trained but when the date was moor
than 5 years the cell would change to red. BT =for being trained would turn
cell yellow


Using conditional formatting. I set my table up like this.

Column A = Date
Column B = Status Date (Training Status Date)
Column C = Training Completion Status

Then in cell C1 I used the following conditional formattings.1.

Formula Is:

=AND(C2=quot;Tquot;,DATEDIF(B2,A2,quot;Yquot;)lt;5) ----------Format Green

2.

Formula Is:

=OR(C2=quot;Rquot;,DATEDIF(B2,A2,quot;Yquot;)gt;=5) ----------Format Red

3.

Formula Is:

=C2=quot;BTquot; ----------Format YellowHTH

Cheers,

Steve--
SteveG
------------------------------------------------------------------------
SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
View this thread: www.excelforum.com/showthread...hreadid=494668Steve

Thank you for answering my question

Regards
goldheadquot;SteveGquot; wrote:

gt;
gt; Using conditional formatting. I set my table up like this.
gt;
gt; Column A = Date
gt; Column B = Status Date (Training Status Date)
gt; Column C = Training Completion Status
gt;
gt; Then in cell C1 I used the following conditional formattings.
gt;
gt;
gt; 1.
gt;
gt; Formula Is:
gt;
gt; =AND(C2=quot;Tquot;,DATEDIF(B2,A2,quot;Yquot;)lt;5) ----------Format Green
gt;
gt; 2.
gt;
gt; Formula Is:
gt;
gt; =OR(C2=quot;Rquot;,DATEDIF(B2,A2,quot;Yquot;)gt;=5) ----------Format Red
gt;
gt; 3.
gt;
gt; Formula Is:
gt;
gt; =C2=quot;BTquot; ----------Format Yellow
gt;
gt;
gt; HTH
gt;
gt; Cheers,
gt;
gt; Steve
gt;
gt;
gt; --
gt; SteveG
gt; ------------------------------------------------------------------------
gt; SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
gt; View this thread: www.excelforum.com/showthread...hreadid=494668
gt;
gt;


Glad to help.Regards,

Steve--
SteveG
------------------------------------------------------------------------
SteveG's Profile: www.excelforum.com/member.php...foamp;userid=7571
View this thread: www.excelforum.com/showthread...hreadid=494668

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()