Ако сега имам списък с времеви клетки, искам да преброя броя на клетките между две дадени времена, както е показано на следната екранна снимка, как мога бързо да преброя броя на клетките между две конкретни времена в Excel?
Пребройте клетките между два дадени момента с формула
За да получите броя на клетките между два пъти, следната формула може да ви помогне, моля, направете следното:
Моля, въведете тази формула в празна клетка, където искате да намерите резултата:
=SUMPRODUCT(($A$1:$A$16>=C1)*($A$1:$A$16< D1)), E1, например, след това плъзнете манипулатора за запълване надолу към клетките, за да получите резултата, вижте екранната снимка:
Забележка: В горната формула, A1: A16 е списъкът с време, който искате да използвате, C1 намлява D1 са двата конкретни момента, в които искате да преброите клетките между тях.
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?