hello every body,good evening
i want your helps to Convert equations to code from Report's Sheet
Because the file became heavy because it is an array equations
this one for get Dates without Duplicate with Emplees's ID
And Another one for Get Differant attendence & Leave time in the same Date
i want your helps to Convert equations to code from Report's Sheet
Because the file became heavy because it is an array equations
this one for get Dates without Duplicate with Emplees's ID
Code:
IFERROR(IF(AND(INDEX(Sheet1!$H$2:$H$2000, MATCH(0 &$B$1,COUNTIF($B$4:B4, Sheet1!$H$2:$H$2000) & Sheet1!$E$2:$E$2000, 0))>=$F$1,INDEX(Sheet1!$H$2:$H$2000, MATCH(0 &$B$1,COUNTIF($B$4:B4, Sheet1!$H$2:$H$2000) & Sheet1!$E$2:$E$2000, 0))<=$H$1),INDEX(Sheet1!$H$2:$H$2000, MATCH(0 &$B$1,COUNTIF($B$4:B4, Sheet1!$H$2:$H$2000) & Sheet1!$E$2:$E$2000, 0)),""),"")
Code:
=IFERROR(INDEX(Sheet1!$I$2:$I$2000,MATCH(1,(Sheet1!$H$2:$H$2000=$B5)*(Sheet1!$E$2:$E$2000=$B$1)*(Sheet1!$L$2:$L$2000=C$4),0)),"")