简体   繁体   English

计算 Excel 中的平均时间差

[英]Calculate Average Time Difference in Excel when data is

在此处输入图像描述

I need the Average difference from Time assigned minus Time created calculated.我需要从分配的时间减去计算的创建时间的平均差。 I was not able to change the format of this data in excel for some reason.由于某种原因,我无法在 excel 中更改此数据的格式。 it is in the general format.它是一般格式。

Formula used to extract date, month and year用于提取日期、月份和年份的公式

=(DATE(MID(E2,8,5),MONTH(LEFT(E2,5)),MID(SUBSTITUTE(E2,",",""),4,3))+TIMEVALUE(RIGHT(E2,8)))-(DATE(MID(D2,8,5),MONTH(LEFT(D2,5)),MID(SUBSTITUTE(D2,",",""),4,3))+TIMEVALUE(RIGHT(D2,8)))

Formula to calculate average计算平均值的公式

=AVERAGE(F2:F9)

样本数据和结果

Change the column F format to hh:mm将 F 列格式更改为 hh:mm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM