共享点列表的创建和添加计算列 [英] Sharepoint List Creation and adding Calculated Column

查看:121
本文介绍了共享点列表的创建和添加计算列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经从一位同事那里接手了一个项目,该项目涉及在Sharepoint中设计页面等.不幸的是,到目前为止,我对Sharepoint的限制是添加文档和文本.

我要尝试创建的页面是用户添加的选项,用户可以从下拉菜单(3、6、9和12个月)中进行选择.我现在想创建一个字段,该字段根据他们选择的下拉菜单显示一个实际日期,使用最后一个" 我也在列表中创建的已审核/当前日期"列.

希望这是有道理的,但如果不是这样,则应该从逻辑上进行阅读-如果用户选择3个月(从下一个审阅下拉列表中选择),然后添加3个月(至上一个审阅/当前日期字段)并显示此内容在下一个审核日期字段下.然后有 6、9和12个月的计算相同吗?

非常感谢所有帮助.

谢谢

解决方案

我已经在SharePoint列表中创建了三列:NewReview列(下拉列表),CurrentDate列,NextReview列. CurrentDate列显示当前日期,NexReview列显示当前日期+ NewReview列值.

我如何设置列:

NextReview列的公式为:= DATE(YEAR(CurrentDate),MONTH(CurrentDate)+ NewReview,DAY(CurrentDate)).

结果:

谢谢

王恩(Dean Wang)


Hi All,

I have taken over a project from a colleague which involves designing pages etc. within Sharepoint. Unfortunately, up until now my limitations with Sharepoint were adding documents and text.

What I am trying to do is create a page where a user can make a selection from a drop down menu (3, 6, 9 and 12 months) are the options I have added. I'd now like to create a field which shows an actual date based on the drop down they chose, using the 'last reviewed/current date' column which I have also created on the list.

Hopefully, that makes sense but if not this is what it should read logically - if the user selects 3 months (from next review drop down), then add 3 months (to the last reviewed/current date field) and display this under field Next Review Date. Then have the same calculation for 6, 9 and 12 months?

All help really appreciated.

Thanks

解决方案

Hi,

I have created three columns in my SharePoint list: NewReview column (drop down), CurrentDate column, NextReview column. The CurrentDate column shows current date, the NexReview column shows the current date + NewReview column value.

How I set for columns:

The formula for NextReview column is: =DATE(YEAR(CurrentDate),MONTH(CurrentDate)+NewReview,DAY(CurrentDate)).

The result:

Thanks,

Dean Wang


这篇关于共享点列表的创建和添加计算列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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