Chris Turner
New Member
I am using a formula to look at a table and sum all production hours from the previous day or 24 hours. Column B is the date in the table. Cells F2 and F3 have the formula =Today()-1 to sum all hours for the previous days date (i.e. yesterday).
=SUMIFS('Molding WC Log'!$F:$F,'Molding WC Log'!$A:$A,"="&'Molding Hours - Yesterday'!$A5,'Molding WC Log'!$J:$J,"="&'Molding Hours - Yesterday'!E$4,'Molding WC Log'!$B:$B,">="&$F$2,'Molding WC Log'!$B:$B,"<="&$F$3)
I just found out that the database starts to log the hours starting from 11:30 PM till 11:30 PM on the following day. This means my formula is not picking up the full 24 hours of production time. I want to add to the formula to allow it to pick up the hours (for example in the sample spreadsheet) between 11:30 PM on June 17 till 11:30 PM on June 18.
=SUMIFS('Molding WC Log'!$F:$F,'Molding WC Log'!$A:$A,"="&'Molding Hours - Yesterday'!$A5,'Molding WC Log'!$J:$J,"="&'Molding Hours - Yesterday'!E$4,'Molding WC Log'!$B:$B,">="&$F$2,'Molding WC Log'!$B:$B,"<="&$F$3)
I just found out that the database starts to log the hours starting from 11:30 PM till 11:30 PM on the following day. This means my formula is not picking up the full 24 hours of production time. I want to add to the formula to allow it to pick up the hours (for example in the sample spreadsheet) between 11:30 PM on June 17 till 11:30 PM on June 18.