在 Microsoft Excel 2007 中,给定一个日期跨度,我想找出该日期跨度在每个季节中所占的比例,这显然是另一个日期跨度。
例如:
Given a span of 26 Nov 10—28 Feb 11 (95 days):
26 Nov—30 Nov is in Spring (or Autumn for you Northerners) (5 days)
1 Dec—28 Feb in Summer (or Winter) (90 days)
因此,5.3% 在春/秋,94.7% 在夏/冬。
任何Excel公式可以解决这个问题?最好不要依赖宏观,但不要破坏交易。
最佳答案
我很难在帖子中解释。我已将解决方案上传至 http://www.2shared.com/file/WHU5v_h1/Book1.html如果您有任何问题,请告诉我...
关于excel - 微软 Excel : Fraction of date span within another date span,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7864940/