Se ho un elenco di celle temporali, ora voglio contare il numero di celle tra due date date come mostrato nella seguente schermata, come posso contare rapidamente il numero di celle tra due momenti specifici in Excel?
Per ottenere il numero di celle tra due volte, la seguente formula può aiutarti, per favore fai come segue:
Inserisci questa formula in una cella vuota in cui desideri individuare il risultato:
=SUMPRODUCT(($A$1:$A$16>=C1)*($A$1:$A$16< D1)), E1, ad esempio, quindi trascina la maniglia di riempimento verso il basso sulle celle per ottenere il risultato, vedi screenshot:
Note:: Nella formula sopra, A1: A16 è l'elenco dei tempi che desideri utilizzare, C1 ed D1 sono i due momenti specifici in cui vuoi contare le celle tra di loro.
I migliori strumenti per la produttività in ufficio
Potenzia le tue competenze di Excel con Kutools per Excel e sperimenta l'efficienza come mai prima d'ora. Kutools per Excel offre oltre 300 funzionalità avanzate per aumentare la produttività e risparmiare tempo. Fai clic qui per ottenere la funzionalità di cui hai più bisogno...
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?