=SUM(IF(FREQUENCY(IF('Resident Worker Hour Report'!$A$19:$A$400=$D13,IF('Resident Worker Hour Report'!$B$19:$B$400=$B13,IF('Resident Worker Hour Report'!$K$4:$DJ$4=E$9,IF('Resident Worker Hour Report'!$K$19:$DJ$400<>"",MATCH('Resident Worker Hour Report'!$D$19:$D$400&'Resident Worker Hour Report'!$C$19:$C$400,'Resident Worker Hour Report'!$D$19:$D$400&'Resident Worker Hour Report'!$C$19:$C$400,0))))),ROW('Resident Worker Hour Report'!$A$19:$A$400)-ROW('Resident Worker Hour Report'!$A$19)+1),1))
Someone helped me create this formula. It basicallly counts the number of people who Have the Same Work Class, Same Company and Worked Hours in a Particular Month. Now I am trying to total the hours for the people it counted. Any ideas?
Someone helped me create this formula. It basicallly counts the number of people who Have the Same Work Class, Same Company and Worked Hours in a Particular Month. Now I am trying to total the hours for the people it counted. Any ideas?