[英]Excel how to find the closest date to another date, matched for the same ID number in two sets of data?
[英]How to align two data sets by date in excel
给定两个带有日期和价格的时间序列(但日期不对齐,即假期等),我如何将两个价格序列与一组日期对齐(使用vlookup?)?
Example:
Mar 1, 2016 | 101.52 | Mar 1, 2016 | 204.57
Mar 2, 2016 | 103.17 | Mar 3, 2016 | 207.13
Mar 3, 2016 | 102.10 | Mar 4, 2016 | 224.03
Mar 6, 2016 | 101.87 | Mar 5, 2016 | 217.15
should result in:
Mar 1, 2016 | 101.52 | Mar 1, 2016 | 204.57
Mar 2, 2016 | 103.17 | Mar 2, 2016 | 204.57
Mar 3, 2016 | 102.10 | Mar 3, 2016 | 207.13
Mar 5, 2016 | 102.10 | Mar 5, 2016 | 217.15
Mar 6, 2016 | 101.87 | Mar 6, 2016 | 217.15
谢谢。
好吧,深吸一口气,然后跟着...
假设数据在A2:D100中...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.