Hi Everyone. I am working on production sheet where I need to use count function for date and time.
I will explain with an example.
Suppose there are 3 columns A,B,C named as "Tasks", "Date" and "Time". Whenever the operators enters "OK" in Task column, the Date and Time are automatically updated. To have this I have used the following formula for Column B "Date" =IF(A4="OK",IF(B4="",TODAY(),B4),"") and for Column C that is "Time" I have used formula as =IF(A4="OK",IF(C4="",NOW(),C4),"") which gives the time and date when the task says "OK"
Now what I need is to count how many tasks were completed on a certian date and also how many of these tasks were completed in day shift (before 06:00pm) and how many were completed in night sift (after 06:00pm).
For date I am using this formula: =COUNTIF(B4:B8,B2) where b4:b8 is the column range and b2 is the cell containing that day's date.
What formula should I use to count time?
Thank you in advance.
I will explain with an example.
Suppose there are 3 columns A,B,C named as "Tasks", "Date" and "Time". Whenever the operators enters "OK" in Task column, the Date and Time are automatically updated. To have this I have used the following formula for Column B "Date" =IF(A4="OK",IF(B4="",TODAY(),B4),"") and for Column C that is "Time" I have used formula as =IF(A4="OK",IF(C4="",NOW(),C4),"") which gives the time and date when the task says "OK"
Now what I need is to count how many tasks were completed on a certian date and also how many of these tasks were completed in day shift (before 06:00pm) and how many were completed in night sift (after 06:00pm).
For date I am using this formula: =COUNTIF(B4:B8,B2) where b4:b8 is the column range and b2 is the cell containing that day's date.
What formula should I use to count time?
Thank you in advance.