Forum Discussion
BigAl-MFS
May 07, 2020Copper Contributor
Create formula for number of absences on day or night shifts by days of week
Trying to develop a formula for a sheet where the data represents month at a time sick leave occurrences by day shift or night shift by day of week. Data is extracted from HR system showing date for ...
- May 08, 2020
Oops, I missed that.
Formula could be
=SUMPRODUCT(IF(NOT(ISNUMBER($C$6:$AR$27)),,$C$6:$AR$27)*($C$5:$AR$26=G$32)*($C$3:$AR$3="Su"))if you are on Excel without supporting Dynamic Arrays, use it as array formula, i.e. with Ctrl+Shift+Enter
BigAl-MFS
May 07, 2020Copper Contributor
Is there a way of SUM'ing the row below the applicable cell using some sort of 'row+1' for those cells found which meet the criteria?
SergeiBaklan
May 08, 2020Diamond Contributor
Oops, I missed that.
Formula could be
=SUMPRODUCT(IF(NOT(ISNUMBER($C$6:$AR$27)),,$C$6:$AR$27)*($C$5:$AR$26=G$32)*($C$3:$AR$3="Su"))
if you are on Excel without supporting Dynamic Arrays, use it as array formula, i.e. with Ctrl+Shift+Enter
- BigAl-MFSMay 08, 2020Copper Contributor
Many thanks, perfect!
- SergeiBaklanMay 08, 2020Diamond Contributor
BigAl-MFS , you are welcome