创建成本资料

时间:2016-11-25 11:23:04

标签: excel

任何人都可以帮我解决这个小问题。我会尽力解释为赌注! 我们有一个P6计划导出到Excel(不要问我们为什么不在P6中这样做)和一些估计。我们有来自计划转储的每个活动的开始和结束日期以及来自estimte的每个活动的成本。我们希望能够将这些成本分摊到成本加载曲线中。如果每个活动都具有相同的成本配置文件,则足够简单但他们不是,这里是棘手的一点。我们希望能够共同选择配置文件6然后excel将根据所选的成本配置文件实现其魔力和比例两个日期之间的成本...简单,我希望!!

Curve Profiles                                          
1   10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 100%
2   1%  2%  3%  7%  13% 17% 20% 19% 13% 5%  100%
3   5%  13% 19% 20% 17% 13% 7%  3%  2%  1%  100%
4   3%  7%  11% 14% 15% 15% 14% 11% 7%  3%  100%
5   100%    0%  0%  0%  0%  0%  0%  0%  0%  0%  100%
6   0%  0%  0%  0%  0%  0%  0%  0%  0%  100%    100%

P6是Primavera的一种规划工具。我们将使用多项式公式来确定沿总线的分割是什么。 = 3.10862446895044E-15 * C16 ^ 6 + 0.0000128205126657122 * C16 ^ 5 - 0.000384615378834496 * C16 ^ 4 + 0.00211538450821536 * C16 ^ 3 + 0.0173076931969263 * C16 ^ 2 - 0.0324778592548682 * C16 + 0.0136363733254257我们正在努力研究如何获得优异成绩确定自动设定的日期。以下是数据的剪切。

Activity ID Activity Name   Duration    Start   Finish  Total Month Total Float Budgeted Total Cost
A1740   Major Permissions - Project Management  734 01-Apr-17   22-Feb-19   23  1939    £6,748,243
A1630   MPP2 - Main Site DCO Contracts  742 01-Apr-17   06-Mar-19   24  1931    £6,027,265
A1650   MPP3 - SP&C Contracts   553 01-Apr-17   08-Jun-18   15  2120    £299,795
A1660   MPP4 - Highways Contracts   443 01-Apr-17   29-Dec-17   9   2230    £881,005
A1670   MPP5 - Worker's Accomodation Contracts  445 01-Apr-17   03-Jan-18   10  2228    £920,193
A1690   MPP6 - Logistics, Park & Ride Contracts 746 01-Apr-17   12-Mar-19   24  1927    £581,667
A1720   MPP7 - Marine Licences Contracts    709 01-Apr-17   18-Jan-19   22  1964    £1,879,577
A1730   MPP8 - Environmental Permits Contracts  546 01-Apr-17   30-May-18   14  2127    £1,291,958

1 个答案:

答案 0 :(得分:0)

我们做到了!!不要问我怎么样,但是有一个更大脑的人,然后我制定了公式。如果有人想要它只是问我,我可以发送它没有数据只是公式。这是一个品尝者!! 用于计算时间尺度。

=IF(MONTH($D8)&YEAR($D8)=MONTH(I$2)&YEAR(I$2),(1-((DAY($D8)-1)/HLOOKUP(MONTH($D8),Monthdays,'Base Data'!$A$4,FALSE))),IF(MONTH($E8)&YEAR($E8)=MONTH(I$2)&YEAR(I$2),(DAY($E8))/HLOOKUP(MONTH($E8),Monthdays,'Base Data'!$A$4,FALSE)+H8,IF(OR(MONTH($E8)&YEAR($E8)=(MONTH(I$2)-1)&YEAR(I$2),MONTH($E8)&YEAR($E8)=12&YEAR(I$2)-1),0,IF(H8-G8>0,H8+1,H8))))

费用。

=IF(OR('Cumulative Cash Flow'!$G176="Linear",'Cumulative Cash Flow'!$G176="Project-S; Early",'Cumulative Cash Flow'!$G176="Project-S",'Cumulative Cash Flow'!$G176="Project-S; Late"),((VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,2,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176)^6+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,3,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176)^5+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,4,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176)^4+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,5,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176)^3+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,6,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176)^2+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,7,FALSE)*(11*'Time-Phase'!I176/'Cumulative Cash Flow'!$H176))
+VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,8,FALSE)*('Time-Phase'!I176/'Cumulative Cash Flow'!$H176))*'Cumulative Cash Flow'!$F176,IF(AND('Cumulative Cash Flow'!$G176="Upfront Payment",'Time-Phase'!I176>0,'Time-Phase'!I176<=1),'Cumulative Cash Flow'!$F176*VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,8,FALSE),IF(AND('Cumulative Cash Flow'!$G176="Final Payment",'Time-Phase'!I176='Cumulative Cash Flow'!$H176),'Cumulative Cash Flow'!$F176*VLOOKUP('Cumulative Cash Flow'!$G176,Curvetype,8,FALSE),0)))