更新日期到TODAY()的工作流程,直到另一个单元格= 100%
最佳答案
-
Krissia B 国防部
谢谢你提供更多的细节。此时,在不使用date列的情况下记录日期并不能直接实现这一目标,但这是一个很棒的主意!请提交改进请求考虑到Smartsheet的未来发展。
与此同时,另一种解决方案是创建一个帮助列(日期列),您可以隐藏它,然后将其转换为“项目结束日期”下的文本值。看看下面我的示例,看看它是什么样子的!
用于项目结束日期的公式。我使用了一个IFERROR函数,这样如果% Complete不是100%,它就不会给出错误消息。我用了一些像“未完成”或你可以留下空白,这取决于你。
= IFERROR(如果(月([Proj1 -结束日期]@row) = 1,“1”,如果月([Proj1 -结束日期]@row) = 2,“2”,如果月([Proj1 -结束日期]@row) = 3,“3”,如果月([Proj1 -结束日期]@row) = 4,“四月”,如果月([Proj1 -结束日期]@row) = 5,“可能”,如果月([Proj1 -结束日期]@row) = 6,“6月”,如果月([Proj1 -结束日期]@row) = 7,“7”,如果月([Proj1 -结束日期]@row) = 8,“8”,如果月([Proj1 -结束日期]@row) = 9,“九月”,如果月([Proj1 -结束日期]@row) = 10,“十月”,IF(MONTH([Proj1 -结束日期]@row) = 11, "November", IF(MONTH([Proj1 -结束日期]@row) = 12, "December")))))))))))) + " " + DAY([Proj1 -结束日期]@row) + ", " + YEAR([Proj1 -结束日期]@row), "Not Completed")
然后我使用隐藏助手列(日期列)的公式作为参考。
=IF([project 1]5 = 1, TODAY())
希望这能有所帮助!
欢呼~
Krissia
0
答案
在字段中设置公式为=Today(),然后在达到100%时自动记录日期。仅供参考,记录一个日期并不适用于依赖关系。更多信息可以在下面的链接中找到。
https://help.smartsheet.com/articles/2481986-set-the-current-date-with-record-a-date-action
https:\/\/us.v-cdn.net\/6031209\/uploads\/LHAMUURP99CV\/image.png<\/a><\/p>
https:\/\/help.smartsheet.com\/articles\/2481986-set-the-current-date-with-record-a-date-action<\/a><\/p>","bodyRaw":"[{\"insert\":\"Set the formula to =Today() in the fields and then make an automation to record a date when it reaches 100%. Just an FYI the record a date doesn't work well with dependencies. More info can be found in the link below. \\n\"},{\"insert\":\"https:\\\/\\\/us.v-cdn.net\\\/6031209\\\/uploads\\\/LHAMUURP99CV\\\/image.png\",\"attributes\":{\"link\":\"https:\\\/\\\/us.v-cdn.net\\\/6031209\\\/uploads\\\/LHAMUURP99CV\\\/image.png\"}},{\"insert\":\"\\n\"},{\"attributes\":{\"link\":\"https:\\\/\\\/help.smartsheet.com\\\/articles\\\/2481986-set-the-current-date-with-record-a-date-action\"},\"insert\":\"https:\\\/\\\/help.smartsheet.com\\\/articles\\\/2481986-set-the-current-date-with-record-a-date-action\"},{\"insert\":\"\\n\"}]","format":"rich","dateInserted":"2021-11-30T00:16:33+00:00","insertUser":{"userID":141976,"name":"Devin Lee","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Devin%20Lee","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!wuDav0gnudQ!HYnb31wbkr4!hoPeVxbhNwX","dateLastActive":"2022-01-21T16:05:59+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭"},"displayOptions":{"showUserLabel":false,"showCompactUserInfo":true,"showDiscussionLink":false,"showPostLink":false,"showCategoryLink":false,"renderFullContent":false,"expandByDefault":false},"url":"https:\/\/community.smartsheet.com\/discussion\/comment\/312113#Comment_312113","embedType":"quote"}"> https://community.smartsheet.com/discussion/comment/312113#Comment_312113
谢谢-我的问题有点不同,但可能是因为我的表设置有点奇怪。没有日期列-该表被用来显示从其他项目拉进来的不同里程碑,如下所示。因此,每个项目/外部工作表都是一个列,以便进行其他计算(Workstream1的公式是完成子任务/总子任务的计数)。这适用于所有单元格,除了单元格“Project End Date”,我想设置为TODAY(),直到“% Complete”=100%。但是因为列是Proj1,而不是日期列(它有日期、数字和文本),所以我不确定您建议的工作流是否有效。它甚至有可能实现我想要做的设置吗?如果不是,我可以继续手动放入项目结束日期,因为其余的工作表。
你好@BrianWong
谢谢你提供更多的细节。此时,在不使用date列的情况下记录日期并不能直接实现这一目标,但这是一个很棒的主意!请提交改进请求考虑到Smartsheet的未来发展。
与此同时,另一种解决方案是创建一个帮助列(日期列),您可以隐藏它,然后将其转换为“项目结束日期”下的文本值。看看下面我的示例,看看它是什么样子的!
用于项目结束日期的公式。我使用了一个IFERROR函数,这样如果% Complete不是100%,它就不会给出错误消息。我用了一些像“未完成”或你可以留下空白,这取决于你。
= IFERROR(如果(月([Proj1 -结束日期]@row) = 1,“1”,如果月([Proj1 -结束日期]@row) = 2,“2”,如果月([Proj1 -结束日期]@row) = 3,“3”,如果月([Proj1 -结束日期]@row) = 4,“四月”,如果月([Proj1 -结束日期]@row) = 5,“可能”,如果月([Proj1 -结束日期]@row) = 6,“6月”,如果月([Proj1 -结束日期]@row) = 7,“7”,如果月([Proj1 -结束日期]@row) = 8,“8”,如果月([Proj1 -结束日期]@row) = 9,“九月”,如果月([Proj1 -结束日期]@row) = 10,“十月”,IF(MONTH([Proj1 -结束日期]@row) = 11, "November", IF(MONTH([Proj1 -结束日期]@row) = 12, "December")))))))))))) + " " + DAY([Proj1 -结束日期]@row) + ", " + YEAR([Proj1 -结束日期]@row), "Not Completed")
然后我使用隐藏助手列(日期列)的公式作为参考。
=IF([project 1]5 = 1, TODAY())
希望这能有所帮助!
欢呼~
Krissia
Thank you for posting additional details. At this time, there isn't a direct to do what you are trying to accomplish to record a date when you are not using a DATE column, but it is a great idea! Please submit an enhancement request<\/a> to have this considered for future development in Smartsheet.<\/p>
In the meantime, an alternate solution would be to create a helper column (date column) that you can hide then convert that into a text value under your "Project End Date." See my sample below on how it would look like!<\/p>
https:\/\/us.v-cdn.net\/6031209\/uploads\/185P3PTMIV1F\/formula.gif<\/a><\/p>
Formula used for the Project End Date. I used an IFERROR function so that it doesnt give an error message if the % Complete is not 100%. I used something like "Not Completed" or you can leave it blank, its up to you.<\/p>
=IFERROR(IF(MONTH([Proj1 - End Date]@row) = 1, "January", IF(MONTH([Proj1 - End Date]@row) = 2, "February", IF(MONTH([Proj1 - End Date]@row) = 3, "March", IF(MONTH([Proj1 - End Date]@row) = 4, "April", IF(MONTH([Proj1 - End Date]@row) = 5, "May", IF(MONTH([Proj1 - End Date]@row) = 6, "June", IF(MONTH([Proj1 - End Date]@row) = 7, "July", IF(MONTH([Proj1 - End Date]@row) = 8, "August", IF(MONTH([Proj1 - End Date]@row) = 9, "September", IF(MONTH([Proj1 - End Date]@row) = 10, "October", IF(MONTH([Proj1 - End Date]@row) = 11, "November", IF(MONTH([Proj1 - End Date]@row) = 12, "December")))))))))))) + " " + DAY([Proj1 - End Date]@row) + ", " + YEAR([Proj1 - End Date]@row), "Not Completed")<\/p>
Then i used the formula for the hidden helper column (date column) as the reference.<\/p>
=IF([Proj1]5 = 1, TODAY())<\/p>
Hope this helps!<\/p>
Cheers~<\/p>
Krissia<\/p>","bodyRaw":"[{\"insert\":\"Hello \"},{\"insert\":{\"mention\":{\"name\":\"BrianWong\",\"userID\":142165}}},{\"insert\":\" \\nThank you for posting additional details. At this time, there isn't a direct to do what you are trying to accomplish to record a date when you are not using a DATE column, but it is a great idea! Please submit an \"},{\"attributes\":{\"link\":\"https:\\\/\\\/app.smartsheet.com\\\/b\\\/form\\\/739aa75f30ca43a8a22eb53e4da7d409?_ga=2.83182933.2102510910.1638546920-895869768.1638546920\"},\"insert\":\"enhancement request\"},{\"insert\":\" to have this considered for future development in Smartsheet.\\n\\nIn the meantime, an alternate solution would be to create a helper column (date column) that you can hide then convert that into a text value under your \\\"Project End Date.\\\" See my sample below on how it would look like!\\n\"},{\"insert\":\"https:\\\/\\\/us.v-cdn.net\\\/6031209\\\/uploads\\\/185P3PTMIV1F\\\/formula.gif\",\"attributes\":{\"link\":\"https:\\\/\\\/us.v-cdn.net\\\/6031209\\\/uploads\\\/185P3PTMIV1F\\\/formula.gif\"}},{\"insert\":\"\\n\"},{\"insert\":\"Formula used for the Project End Date. I used an IFERROR function so that it doesnt give an error message if the % Complete is not 100%. I used something like \\\"Not Completed\\\" or you can leave it blank, its up to you.\\n=IFERROR(IF(MONTH([Proj1 - End Date]@row) = 1, \\\"January\\\", IF(MONTH([Proj1 - End Date]@row) = 2, \\\"February\\\", IF(MONTH([Proj1 - End Date]@row) = 3, \\\"March\\\", IF(MONTH([Proj1 - End Date]@row) = 4, \\\"April\\\", IF(MONTH([Proj1 - End Date]@row) = 5, \\\"May\\\", IF(MONTH([Proj1 - End Date]@row) = 6, \\\"June\\\", IF(MONTH([Proj1 - End Date]@row) = 7, \\\"July\\\", IF(MONTH([Proj1 - End Date]@row) = 8, \\\"August\\\", IF(MONTH([Proj1 - End Date]@row) = 9, \\\"September\\\", IF(MONTH([Proj1 - End Date]@row) = 10, \\\"October\\\", IF(MONTH([Proj1 - End Date]@row) = 11, \\\"November\\\", IF(MONTH([Proj1 - End Date]@row) = 12, \\\"December\\\")))))))))))) + \\\" \\\" + DAY([Proj1 - End Date]@row) + \\\", \\\" + YEAR([Proj1 - End Date]@row), \\\"Not Completed\\\")\\n\\nThen i used the formula for the hidden helper column (date column) as the reference.\\n=IF([Proj1]5 = 1, TODAY())\\n\\nHope this helps!\\nCheers~\\nKrissia\\n\"}]","format":"rich","dateInserted":"2021-12-03T17:48:52+00:00","insertUser":{"userID":116817,"name":"Krissia B","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Krissia%20B","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/XLE5778SE0R1\/nBC33CJDWWTC3.jpg","dateLastActive":"2022-05-06T20:55:30+00:00","banned":0,"punished":0,"private":false,"label":"mod"},"displayOptions":{"showUserLabel":false,"showCompactUserInfo":true,"showDiscussionLink":false,"showPostLink":false,"showCategoryLink":false,"renderFullContent":false,"expandByDefault":false},"url":"https:\/\/community.smartsheet.com\/discussion\/comment\/312495#Comment_312495","embedType":"quote"}"> https://community.smartsheet.com/discussion/comment/312495#Comment_312495
谢谢你!我会这么做的!