是否有一种方法来检查一个框在一个表基于数据和复选框在另一个表?

smartsheet.png

在此场景中,索引智能表自动化将基于许可智能表中的数据进行。更具体地说-当授权Smartsheet待归档的状态(复选框)被选中时,在索引Smartsheet中的Ready To Start E. cell中选中复选框,并且所有要归档的状态都等于“完成”,并且所有要归档的状态都是“所需状态”列中的状态之一或等于或匹配状态。

标签:

最佳答案

  • 吉纳维芙P。
    吉纳维芙P。 员工管理
    ✓回答

    @imtonydillard

    第二个公式应该只检查Required States列是否存在JoinCollect公式带回的值…即使这些值是与其他值一起选择的。

    你试过这个吗?

    =IF(HAS([公式列]@行,[所需状态]@行),1,0)


    在我的图像中,“公式列”被称为“JoinCollect”,所以我的公式将是:

    =如果(((电子邮件保护),[所需状态]@row), 1,0)

答案

  • 吉纳维芙P。
    吉纳维芙P。 员工管理

    @imtonydillard

    是的!

    假设“Required States”列是一个多选列,我们可以做的是在“Index Smartsheet”表中添加另一个辅助列。

    将帮助列设置为另一个多选列,然后我们可以使用加入COLLECT公式将满足条件的所有States带回一个单元格中(相同的单元格,复制到整个工作表中)。

    然后我们使用HAS函数来查看该单元格是否列出了每个州这一行所列的所有“必需状态”。

    这是我在同一张表格中创建的一个例子。假设蓝色列在不同的工作表中:

    屏幕截图2022-04-19 about 3.34.11。png


    跨工作表连接(收集列公式Would看起来像这样:

    =JOIN(COLLECT({状态列},{归档状态列},"完成",{待归档状态列},1),CHAR(10)))

    末尾的CHAR(10)将您的值分离为多选值。


    然后在复选框栏中,尝试如下公式:

    =IF(HAS([公式列]@行,[所需状态]@行),1,0)


    欢呼,

    吉纳维芙

  • @Genevieve P。很抱歉回复晚了。谢谢你的推荐。这很有效,但是……

    在需要的状态行包含AL, AK, AR, CO的实例中,我需要检查就绪框。我这样做的原因是AL, CO和CT需要忽略,因为它们没有在States to be Filed中被检查。这可能吗?


    托尼

  • 吉纳维芙P。
    吉纳维芙P。 员工管理
    ✓回答

    @imtonydillard

    第二个公式应该只检查Required States列是否存在JoinCollect公式带回的值…即使这些值是与其他值一起选择的。

    你试过这个吗?

    =IF(HAS([公式列]@行,[所需状态]@行),1,0)


    在我的图像中,“公式列”被称为“JoinCollect”,所以我的公式将是:

    =如果(((电子邮件保护),[所需状态]@row), 1,0)

  • @Genevieve P。

    非常感谢你对我的帮助。它工作!你太棒了。

    欢呼,

    托尼

帮助文章资源欧宝体育app官方888

想直接在Smartsheet中练习使用公式吗?

请查看公式手册模板!
@mistone<\/a> , Since you are not joining a specified range and just piecemealing it together, why not just make your formula, =([Day of week]@row + \" - \" + [Start Date]@row + \" - \" + [Start time]@row + Itinerary@row)<\/strong>?<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":103478,"type":"question","name":"I am rusty on IF Statements and I need help with building one with different conditions.","excerpt":"My if statement works with I use one condition but I am getting an error when I try to add more conditions. Based on OJT % column that has a number between 0 and 100 I want the IF statement column to reflect: \"Beginning Apprentice\" if the number is between 0-25 \"Intermediate Apprentice\" if the number is between 26-50…","categoryID":322,"dateInserted":"2023-03-31T23:35:12+00:00","dateUpdated":"2023-03-31T23:35:53+00:00","dateLastComment":"2023-04-01T02:28:28+00:00","insertUserID":160063,"insertUser":{"userID":160063,"name":"Phomo","url":"https:\/\/community.smartsheet.com\/profile\/Phomo","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AGNmyxbuTnqnXsBwBQCizEjANlce_-T66PwUCnJudcp5HA=s96-c","dateLastActive":"2023-04-01T02:08:02+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":160063,"lastUserID":160063,"lastUser":{"userID":160063,"name":"Phomo","url":"https:\/\/community.smartsheet.com\/profile\/Phomo","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AGNmyxbuTnqnXsBwBQCizEjANlce_-T66PwUCnJudcp5HA=s96-c","dateLastActive":"2023-04-01T02:08:02+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":15,"score":null,"hot":3360623620,"url":"https:\/\/community.smartsheet.com\/discussion\/103478\/i-am-rusty-on-if-statements-and-i-need-help-with-building-one-with-different-conditions","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/103478\/i-am-rusty-on-if-statements-and-i-need-help-with-building-one-with-different-conditions","format":"Rich","lastPost":{"discussionID":103478,"commentID":369907,"name":"Re: I am rusty on IF Statements and I need help with building one with different conditions.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/369907#Comment_369907","dateInserted":"2023-04-01T02:28:28+00:00","insertUserID":160063,"insertUser":{"userID":160063,"name":"Phomo","url":"https:\/\/community.smartsheet.com\/profile\/Phomo","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AGNmyxbuTnqnXsBwBQCizEjANlce_-T66PwUCnJudcp5HA=s96-c","dateLastActive":"2023-04-01T02:08:02+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-04-01T01:45:41+00:00","dateAnswered":"2023-03-31T23:39:28+00:00","acceptedAnswers":[{"commentID":369901,"body":"

Hi there, I hope this helps. You have to nest the IF statements. Here's a shot at it. You'll see I close all of the IF statements with end parenthesis' after the final statement. <\/p>

=IF([WH OJT %]@row < 26, \"Beginning Apprentice\", IF([WH OJT %]@row <= 50, \"Intermediate Apprentice\", IF([WH OJT %]@row < 75, \"Advanced Apprentice\", IF([WH OJT %]@row <= 100, \"Eligible for completion\"))))<\/p>"},{"commentID":369906,"body":"

Thank you so much Mike. I think this works. One question. Does it matter if you use <= or just <. I see that you used both and I wanted to know. Thank you so much again.😀<\/span><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":103421,"type":"question","name":"Return Header Based on Last Column Populated","excerpt":"I'm trying to figure out a formula to add a date to a particular cell, then return the 'header' value in another cell. Ideally it's a formula automated to find the last populated cell of a row, then return the 'header' of that column. Sample situation: with the 4\/1 date populated here, I want the empty green cell to read…","categoryID":322,"dateInserted":"2023-03-30T23:10:54+00:00","dateUpdated":null,"dateLastComment":"2023-03-31T21:29:26+00:00","insertUserID":160004,"insertUser":{"userID":160004,"name":"ManicMonday84","url":"https:\/\/community.smartsheet.com\/profile\/ManicMonday84","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-03-31T21:27:51+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":160004,"lastUser":{"userID":160004,"name":"ManicMonday84","url":"https:\/\/community.smartsheet.com\/profile\/ManicMonday84","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-03-31T21:27:51+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":26,"score":null,"hot":3360517220,"url":"https:\/\/community.smartsheet.com\/discussion\/103421\/return-header-based-on-last-column-populated","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/103421\/return-header-based-on-last-column-populated","format":"Rich","lastPost":{"discussionID":103421,"commentID":369886,"name":"Re: Return Header Based on Last Column Populated","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/369886#Comment_369886","dateInserted":"2023-03-31T21:29:26+00:00","insertUserID":160004,"insertUser":{"userID":160004,"name":"ManicMonday84","url":"https:\/\/community.smartsheet.com\/profile\/ManicMonday84","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-03-31T21:27:51+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/SI2A3P4ZADUA\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-31T21:28:50+00:00","dateAnswered":"2023-03-31T18:32:49+00:00","acceptedAnswers":[{"commentID":369874,"body":"

Try this:<\/p>

=INDEX([January 2022]$1:[March 2022]$1, 1, COUNTIFS([January 2022]@row:[March 2022]@row, @cell <> \"//www.santa-greenland.com/community/discussion/90075/\"))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]}],"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">