帮助月末配方

你好,

我正在建立一个仪表板来跟踪转介回复。仪表板缺失的部分是我需要创建一个公式,按月和年给出每个类别的总数。

我想不出我需要用什么函数来把我已经知道的公式加起来,把总数按月和年分解。

到目前为止我建立的公式是:

只统计推荐类型“紧急情况——需要国际人道主义协会24小时响应

=COUNTIF({转诊类型},="紧急情况-需要24小时IHCA响应")

对收到的推荐总数进行计数

= COUNT({时间戳})

列出成功转介个案的总数:

=COUNTIF({电子邮件结果}," success ")


谢谢你!

弗朗西丝

标签:

最好的答案

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

    @Frances刘易斯

    你做对了!下一步是使用一个条件统计年代(复数)函数寻找多重标准。然后你可以使用月功能年函数搜索特定的日期。

    使用COUNTIFS,首先列出范围(我将其称为{Date列}),然后列出标准。因为这是一个横截面公式,你需要@cell作为“日期”在MONTH和YEAR函数中,要指定它,应该查看前面列出的列的各个单元格。


    例如,这将查找1月(或一个月)1)在2020年:

    =COUNTIFS({转介类型},="紧急情况-需要24小时IHCA响应",{日期列},月(@cell) = 1,{日期列},年(@cell) = 2020)


    现在,当它像这样查看整个列并遇到空白单元格时,您有时会收到日期函数的错误。为了防止这种情况,你可以把an包装起来IFERROR函数围绕着MONTH和YEAR函数。

    完整的公式:

    =COUNTIFS({推荐类型},="紧急情况-需要24小时IHCA响应",{日期列},IFERROR(MONTH(@cell), 0) = 1,{日期列},IFERROR(YEAR(@cell), 0) = 2020)


    你可以在每个公式中使用相同的表述,只是改变标准。所以对于二月,让MONTH位搜索2而不是1:

    IFERROR(MONTH(@cell), 0) =2

    对于2019年,请搜索2019年的年份:

    IFERROR(YEAR(@cell), 0) =2019


    让我知道这是否有意义,或者如果你有任何问题!

    欢呼,

    吉纳维芙

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

    @Frances刘易斯

    无效引用引用的是你的交叉表引用,{在这些}中。

    我在我的参考文献中放置了示例文本,以显示您应该在另一个工作表中选择哪些列,但是您需要通过“引用另一个工作表”过程,以便将每个列与正确的列链接起来。

    例如,{Date column}引用将是源工作表中包含要搜索的日期的列。复制/粘贴公式,然后删除公式中的引用,选择“引用另一个工作表”:

    截屏2020-11-04 11.02.25 AM.png


    然后,当您找到源表时,选择日期列并将引用重命名为易于识别的内容……甚至可能是“日期列”,这样您就不需要为第二个引用做同样的事情。


    截屏2020-11-04 11.02.56 AM.png

    明白了吗?你可以了解更多关于交叉表参考。

    干杯!

    吉纳维芙

答案

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

    @Frances刘易斯

    你做对了!下一步是使用一个条件统计年代(复数)函数寻找多重标准。然后你可以使用月功能年函数搜索特定的日期。

    使用COUNTIFS,首先列出范围(我将其称为{Date列}),然后列出标准。因为这是一个横截面公式,你需要@cell作为“日期”在MONTH和YEAR函数中,要指定它,应该查看前面列出的列的各个单元格。


    例如,这将查找1月(或一个月)1)在2020年:

    =COUNTIFS({转介类型},="紧急情况-需要24小时IHCA响应",{日期列},月(@cell) = 1,{日期列},年(@cell) = 2020)


    现在,当它像这样查看整个列并遇到空白单元格时,您有时会收到日期函数的错误。为了防止这种情况,你可以把an包装起来IFERROR函数围绕着MONTH和YEAR函数。

    完整的公式:

    =COUNTIFS({推荐类型},="紧急情况-需要24小时IHCA响应",{日期列},IFERROR(MONTH(@cell), 0) = 1,{日期列},IFERROR(YEAR(@cell), 0) = 2020)


    你可以在每个公式中使用相同的表述,只是改变标准。所以对于二月,让MONTH位搜索2而不是1:

    IFERROR(MONTH(@cell), 0) =2

    对于2019年,请搜索2019年的年份:

    IFERROR(YEAR(@cell), 0) =2019


    让我知道这是否有意义,或者如果你有任何问题!

    欢呼,

    吉纳维芙

  • @Genevieve P

    谢谢你的帮助。当我输入公式时,它返回#无效REF错误。我不确定我在这个公式中遗漏了什么。我想这和括号有关。我试着让Smartsheet自动输入括号,我仍然得到同样的错误。

    image.png

    --

    弗朗西丝

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

    @Frances刘易斯

    无效引用引用的是你的交叉表引用,{在这些}中。

    我在我的参考文献中放置了示例文本,以显示您应该在另一个工作表中选择哪些列,但是您需要通过“引用另一个工作表”过程,以便将每个列与正确的列链接起来。

    例如,{Date column}引用将是源工作表中包含要搜索的日期的列。复制/粘贴公式,然后删除公式中的引用,选择“引用另一个工作表”:

    截屏2020-11-04 11.02.25 AM.png


    然后,当您找到源表时,选择日期列并将引用重命名为易于识别的内容……甚至可能是“日期列”,这样您就不需要为第二个引用做同样的事情。


    截屏2020-11-04 11.02.56 AM.png

    明白了吗?你可以了解更多关于交叉表参考。

    干杯!

    吉纳维芙

帮助文章参考资料欧宝体育app官方888

想要直接在智能表中练习使用公式吗?

请查看公式手册模板!
Hey @Marcus Halvorson<\/a> <\/p>

Try this<\/p>

=IF(Available@row > 0, \"PES\", JOIN(INDEX(COLLECT(Facility:Facility, [Microscope: 1]:[Microscope: 1], HAS(@cell,\"6633112443\")), 1)))<\/p>

Will this work for you?<\/p>

Kelly<\/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":106579,"type":"question","name":"Split Text","excerpt":"Can someone assist me? I need a formula on how to split the text for this below. Ex. LOW - VS-87 - Service-FS Battery Replacement Lead-MEGA MALL-1259410 I need a to have a column that would write MEGA MALL only.","categoryID":322,"dateInserted":"2023-06-17T17:04:55+00:00","dateUpdated":null,"dateLastComment":"2023-06-18T01:39:56+00:00","insertUserID":103391,"insertUser":{"userID":103391,"name":"Marilen.Navarro103391","url":"https:\/\/community.smartsheet.com\/profile\/Marilen.Navarro103391","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/drupal_profile\/files\/2019-09\/60\/88\/n6088a8f5166f388fd95cfcb413bcbd0e.jpg","dateLastActive":"2023-06-18T01:41:56+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":null,"lastUserID":112221,"lastUser":{"userID":112221,"name":"Kelly Moore","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20Moore","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!jnPa4zng1Pw!n1lbH6Wxgbo!UbxYNkVsKJw","dateLastActive":"2023-06-19T02:46:11+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":30,"score":null,"hot":3374075691,"url":"https:\/\/community.smartsheet.com\/discussion\/106579\/split-text","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106579\/split-text","format":"Rich","lastPost":{"discussionID":106579,"commentID":381096,"name":"Re: Split Text","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381096#Comment_381096","dateInserted":"2023-06-18T01:39:56+00:00","insertUserID":112221,"insertUser":{"userID":112221,"name":"Kelly Moore","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Kelly%20Moore","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!jnPa4zng1Pw!n1lbH6Wxgbo!UbxYNkVsKJw","dateLastActive":"2023-06-19T02:46:11+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-06-18T01:42:10+00:00","dateAnswered":"2023-06-18T01:39:56+00:00","acceptedAnswers":[{"commentID":381096,"body":"

Hey @Marilen.Navarro103391<\/a> <\/p>

Please use the formula I provided. It was intentional for the character \"~\" to be included. <\/p>

=MID(Name@row, FIND(\"~\", SUBSTITUTE(Name@row, \"-\", \"~\", 5)) + 1, FIND(\"~\", SUBSTITUTE(Name@row, \"-\", \"~\", 6)) - 1 - FIND(\"~\", SUBSTITUTE(Name@row, \"-\", \"~\", 5)))<\/p>

Kelly<\/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":106483,"type":"question","name":"Cross Sheet formula from two different columns","excerpt":"Hi Friends, I am currently using sheet A that has its rows automatically filled up by bringing the value from another sheet B using the VLOOKUP function. For example, I manually fill up \"BIM ID\" column in sheet A and hence the \"SO\" column in sheet A is filled up automatically by cross-checking sheet B using the formula:…","categoryID":322,"dateInserted":"2023-06-15T08:43:02+00:00","dateUpdated":null,"dateLastComment":"2023-06-19T03:57:12+00:00","insertUserID":139197,"insertUser":{"userID":139197,"name":"Yousef J.","url":"https:\/\/community.smartsheet.com\/profile\/Yousef%20J.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-19T03:57:38+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":139197,"lastUser":{"userID":139197,"name":"Yousef J.","url":"https:\/\/community.smartsheet.com\/profile\/Yousef%20J.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-19T03:57:38+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":63,"score":null,"hot":3373969214,"url":"https:\/\/community.smartsheet.com\/discussion\/106483\/cross-sheet-formula-from-two-different-columns","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106483\/cross-sheet-formula-from-two-different-columns","format":"Rich","lastPost":{"discussionID":106483,"commentID":381115,"name":"Re: Cross Sheet formula from two different columns","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381115#Comment_381115","dateInserted":"2023-06-19T03:57:12+00:00","insertUserID":139197,"insertUser":{"userID":139197,"name":"Yousef J.","url":"https:\/\/community.smartsheet.com\/profile\/Yousef%20J.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-19T03:57:38+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-06-19T03:57:35+00:00","dateAnswered":"2023-06-16T14:12:41+00:00","acceptedAnswers":[{"commentID":381013,"body":"

I haven't dived in deep but one thing I noticed is on the first reference you have two sets of {} this can give an error.<\/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":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

公式和函数趋势