简体   繁体   English

如何在Excel中将每周汇总数据转换为每日平均值?

[英]How to convert weekly summed data to daily average in excel?

In Excel, I have two columns with weekly summed data that look like this: 在Excel中,我有两列每周汇总的数据,如下所示:

9/4/17    22.73
8/28/17   90.29
8/14/17   64.77
...

and I'd like to create new columns with missing days and the daily average for that week, for example: 并且我想创建缺少日期和该周每日平均值的新列,例如:

9/4/17    3.25
9/3/17    3.25
9/2/17    3.25
9/1/17    3.25
...

Is there a quick way to do this calculation in Excel? 有在Excel中进行此计算的快速方法吗?

weekly值的两周间隔令人困惑,但是如果您的日期在ColumnA中,并且您已用9月4日至8月8日的序列填充ColumnD,则输入E1并向下复制:

=INDEX(B:B,MATCH(D1,A:A,-1))/7

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

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