Si tengo una lista de celdas de tiempo, ahora quiero contar el número de celdas entre dos tiempos dados como se muestra en la siguiente captura de pantalla, ¿cómo podría contar rápidamente el número de celdas entre dos tiempos específicos en Excel?
Para obtener la cantidad de celdas entre dos tiempos, la siguiente fórmula puede ayudarlo, haga lo siguiente:
Ingrese esta fórmula en una celda en blanco donde desea ubicar el resultado:
=SUMPRODUCT(($A$1:$A$16>=C1)*($A$1:$A$16< D1)), E1, por ejemplo, luego arrastre el controlador de relleno hacia las celdas para obtener el resultado, vea la captura de pantalla:
Note: En la fórmula anterior, A1: A16 es la lista de tiempo que desea usar, C1 y D1 son los dos momentos específicos en los que desea contar las celdas entre ellos.
Las mejores herramientas de productividad de oficina
Mejore sus habilidades de Excel con Kutools for Excel y experimente la eficiencia como nunca antes. Kutools for Excel ofrece más de 300 funciones avanzadas para aumentar la productividad y ahorrar tiempo. Haga clic aquí para obtener la función que más necesita...
So action d1 happens at a time in A1 with a value in e1 by user f1
I would like to calculate all that is happened between b1 and c1 and if it is in range and the action name is pl and the user number is 1024 count sum of e1.
Another way if user 1024 and action done pl count how sum of e1 between range of time
Certainly, I will use the same formula for each hour
This comment was minimized by the moderator on the site
How do it make this work if the time is negative?
Warehouse Carrier
Dispatch to RC Dispatch to Invoiced Depart to Dispatched Dispatch to Gate
########### ############### 0:54 1:41
This comment was minimized by the moderator on the site
Hello, Rick,
Sorry, I can't get your point, why there are negative times in your worksheet, could you give your problem more detailed? Or you can insert the attachment or screenshot here.
If you want to show the negatice times in Excel, you can view this article: How To Display / Show Negative Time Properly In Excel?