Als ik een lijst met tijdcellen heb, wil ik nu het aantal cellen tussen twee gegeven tijden tellen zoals in het volgende screenshot, hoe kan ik snel het aantal cellen tussen twee specifieke tijden in Excel tellen?
Tel cellen tussen twee opgegeven tijden met formule
Om het aantal cellen tussen twee keer te krijgen, kan de volgende formule u helpen, doe dit als volgt:
Voer deze formule in een lege cel in waar u het resultaat wilt vinden:
=SUMPRODUCT(($A$1:$A$16>=C1)*($A$1:$A$16< D1)), E1, bijvoorbeeld, sleep de vulgreep omlaag naar de cellen om het resultaat te krijgen, zie screenshot:
Note: In de bovenstaande formule, A1: A16 is de tijdlijst die u wilt gebruiken, C1 en D1 zijn de twee specifieke tijden waarop u de cellen ertussen wilt tellen.
Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar effici毛ntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen. Klik hier om de functie te krijgen die u het meest nodig heeft...
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?