计算字段失败 [英] Calculated field failing

查看:126
本文介绍了计算字段失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SharePoint中的计算字段.

I'm using calculated fields in SharePoint.

第一次计算如下

= IF([项目阶段] =交付",[下一个闸门超控],IF([项目阶段] =定义",1,IF([项目阶段] =交付(构建)") ;,2,IF([项目阶段] =交付(SIT)",3,IF([项目阶段] =交付(UAT)",4,IF([项目 阶段] =派生",5,"))))))))

=IF([Project Phase]="Deliver",[Next Gate Override],IF([Project Phase]="Define",1,IF([Project Phase]="Deliver (Build)",2,IF([Project Phase]="Deliver (SIT)",3,IF([Project Phase]="Deliver (UAT)",4,IF([Project Phase]="Derive",5,""))))))

这似乎可以在所有项目上返回正确的结果.但是,当我随后使用结果在另一个字段中返回值时,并非所有结果都显示出来.

This seems to return the right results on all Items. However when I then use the results to return a value in another field not all of the results show.

= IF([下一个门] ="1",[TG1日期(预测/实际)],IF([下一个门] ="2",[TG2日期(预测/实际)],IF( [下一个门] ="3",[TG3日期(预测/实际)],IF([下一个门] ="4",[TG4日期(预测/实际)],IF([下一个门] =" ; 5,[TG5 日期(预测/实际)],")))))))

=IF([Next Gate]="1",[TG1 Date (Forecast/Actual)],IF([Next Gate]="2",[TG2 Date (Forecast/Actual)],IF([Next Gate]="3",[TG3 Date (Forecast/Actual)],IF([Next Gate]="4",[TG4 Date (Forecast/Actual)],IF([Next Gate]="5",[TG5 Date (Forecast/Actual)],"")))))

当我将第一个公式修改为包括IF([Project Phase] ="Deliver",[Next Gate Override].在此之前,一切正常.

The problem has arisen when I have modified the first formula to include IF([Project Phase]="Deliver",[Next Gate Override]. Prior to this everything was working fine. 

我该如何修改它,以便所有结果都通过下一个门日期(第二个公式)

How can I modify this so that all the results come through for Next gate date (the second formula)

推荐答案

我已经知道了事实证明,我只需要被承认"即可.标记第一个公式中返回的数字
I've figured this it, turns out i just needed to be "" marks round the numbers being returned in the first formula


这篇关于计算字段失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆