if condition met on criteria in 3 columns

politot

New Member
Joined
Nov 22, 2012
Messages
22
Hi excel guru's

just a newbie here, so I just need someone who can help me with a formula.

Data is from column A to J, so what I need is like to appear a formula in J when 3 condition met. A=employee Id, start on row 3 and so forth, H= Date where employee process a case, I= marking if the case is Pass or Fail. What I need is to tagged the resolution which in column J if the same Employee occur a consecutive Fail within month, just tag it as "Yes" if the criteria met or "No" if not. Many Thanks..

Ex: Employee. Date. Mark. Resolution
1234. 01/06/2019. Fail
1234. 09/06/2019. Fail
1234. 05/07/2019. Pass
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I show you 2 formulas, the first is an array formula. You can use either of the two.
Tell me if it is what you need.



<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:126.42px;" /><col style="width:92.2px;" /><col style="width:76.04px;" /><col style="width:84.59px;" /><col style="width:96px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >H</td><td >I</td><td >J</td><td >K</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#92d050; color:#333333; font-weight:bold; font-family:Verdana; font-size:9pt; text-align:center; ">Ex:Employee</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Date</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Mark</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Resolution</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Resolution</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">1234</td><td style="text-align:right; ">01/06/2019</td><td >Fail</td><td >Yes</td><td >Yes</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">1234</td><td style="text-align:right; ">09/06/2019</td><td >Fail</td><td >Yes</td><td >Yes</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">1234</td><td style="text-align:right; ">05/07/2019</td><td >Pass</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">88</td><td style="text-align:right; ">01/06/2019</td><td >Fail</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">88</td><td style="text-align:right; ">04/07/2019</td><td >Pass</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="color:#333333; font-family:Verdana; font-size:9pt; text-align:right; ">88</td><td style="text-align:right; ">05/07/2019</td><td >Fail</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="text-align:right; ">35</td><td style="text-align:right; ">01/06/2019</td><td >Pass</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="text-align:right; ">35</td><td style="text-align:right; ">04/07/2019</td><td >Pass</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="text-align:right; ">35</td><td style="text-align:right; ">05/07/2019</td><td >Pass</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="text-align:right; ">96</td><td style="text-align:right; ">01/06/2019</td><td >Fail</td><td >No</td><td >No</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="text-align:right; ">96</td><td style="text-align:right; ">04/07/2019</td><td >Fail</td><td >Yes</td><td >Yes</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="text-align:right; ">96</td><td style="text-align:right; ">05/07/2019</td><td >Fail</td><td >Yes</td><td >Yes</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Formeln der Tabelle</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Zelle</td><td >Formel</td></tr><tr><td >J2</td><td >{=IF(COUNT(IF($A$2:$A$13=A2,IF(MONTH($H$2:$H$13)=MONTH(H2),IF($I$2:$I$13="Fail",1))))>1,"Yes","No")}</td></tr><tr><td >K2</td><td >=IF(SUMPRODUCT(($A$2:$A$13=A2)*(MONTH($H$2:$H$13)=MONTH(H2))*($I$2:$I$13="Fail"))>1,"Yes","No")</td></tr></table></td></tr></table>

Array formulas
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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
Back
Top