有几个条件的公式

Kirsteen Leckie"class=
编辑06/19/23 公式和函数

你好,

上周我正在研究一个公式,但我仍然在努力解决这个问题的第二个标准。

它的设置方式,根据输入的日期更新字段。它的工作原理如下:

=IFERROR(IF([客户审阅要求]@row = "是",IF([实际提交日期]@row = "", "待定",(IF([实际竞赛日期]@row = "" ", "内部审阅",(IF([客户审阅的实际日期]@row = "" ", "发送给客户"),(IF([客户审阅的实际日期]@row = "" ", "处理意见"),(IF([实际客户审阅]@row = "" ", "客户审阅"),(IF([实际提交给QA]@row = "" ", "客户审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅",)IF([实际提交给QA]@row = "" ", "QA审阅",)IF([实际提交给QA]@row = "", "QA审阅",)IF([实际提交给QA]@row = "", "QA审阅",“已批准”))))))))))))))),“”),“”)

然而,只有当客户审核所需单元格为“是”时,我才试图解决单元格为“否”时的问题——如果选择了“否”,则状态必须错过中间状态部分,并直接跳转到“QA审核”,然后再跳转到“已批准”。按照后一节的规定——“(if([实际最终或QA审批]@row =“”,“QA审核”,“已批准”))”

我真的很纠结于如何将这一部分纳入上述公式-或者这是否可能?

标签:

最佳答案

  • Amit Wadhwani"class=
    Amit Wadhwani ✭✭✭✭✭
    ✓回答

    @Kirsteen Leckie

    我对公式做了一些调整,请尝试下面

    =IF([客户审核要求]@row = "是",IF([实际提交日期]@row = "", "待定",(IF([实际竞赛日期]@row = "" ", "内部审核",(IF([客户实际提交日期]@row = "" ", "发送给客户"),(IF([实际提交客户意见]@row = "" ", "客户审核"),(IF([实际提交客户最终认可]@row = "" ", "客户认可"),(IF([实际提交客户最终认可]@row = "" ", "客户认可"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),“批准 "))))))))))))))), 如果(客户审核要求@row =“不”,如果([实际最终或QA批准]@row = " ",“QA审核”、“批准”)))

    致以最亲切的问候

    Amit Wadhwani,智能表格社区冠军

    内容CoEIgnatiuz软件宾夕法尼亚州埃克斯顿

    https://www.linkedin.com/in/amitinddr/


    这个答案对你有帮助吗?把这个答案标记为“有见地”来表达你的爱或“棒极了”❤️和“请投票。⬆️

答案

  • Amit Wadhwani"class=
    Amit Wadhwani ✭✭✭✭✭

    @Kirsteen Leckie

    你可能想尝试下面的变化

    =IFERROR(IF([客户审阅要求]@row = "是",IF([实际提交日期]@row = "", "待定",(IF([实际竞赛日期]@row = "" ", "内部审阅",(IF([客户审阅的实际日期]@row = "" ", "发送给客户"),(IF([客户审阅的实际日期]@row = "" ", "处理意见"),(IF([实际客户审阅]@row = "" ", "客户审阅"),(IF([实际提交给QA]@row = "" ", "客户审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅"),(IF([实际提交给QA]@row = "" ", "QA审阅",)IF([实际提交给QA]@row = "" ", "QA审阅",)IF([实际提交给QA]@row = "", "QA审阅",)IF([实际提交给QA]@row = "", "QA审阅",“批准 "))))))))))))))), "", 如果(客户审核要求@row =“不”,如果([实际最终或QA批准]@row = " ",“QA审核”、“批准”)))" ")

    致以最亲切的问候

    Amit Wadhwani,智能表格社区冠军

    内容CoEIgnatiuz软件宾夕法尼亚州埃克斯顿

    https://www.linkedin.com/in/amitinddr/


    这个答案对你有帮助吗?把这个答案标记为“有见地”来表达你的爱或“棒极了”❤️和“请投票。⬆️

  • @Amit Wadhwani

    谢谢您的帮助,但是这会产生一个#INCORRECT ARGUMENT SET错误。抱歉,我真的很难理解这个问题!

  • Hollie绿色"class=
    Hollie绿色 ✭✭✭✭✭
    编辑06/19/23

    如果所需的客户审阅总是用“是”或“否”填写,那么您可以将其放在所需客户审阅的假值处=“yes”将在您的公式中。

    当我有一个像这样的非常长的公式时,我通常会在每个公式后面单击,以找到它告诉我的第一个值在哪里。

  • Amit Wadhwani"class=
    Amit Wadhwani ✭✭✭✭✭
    ✓回答

    @Kirsteen Leckie

    我对公式做了一些调整,请尝试下面

    =IF([客户审核要求]@row = "是",IF([实际提交日期]@row = "", "待定",(IF([实际竞赛日期]@row = "" ", "内部审核",(IF([客户实际提交日期]@row = "" ", "发送给客户"),(IF([实际提交客户意见]@row = "" ", "客户审核"),(IF([实际提交客户最终认可]@row = "" ", "客户认可"),(IF([实际提交客户最终认可]@row = "" ", "客户认可"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),(IF([实际提交客户最终认可]@row = "" ", "QA审核"),“批准 "))))))))))))))), 如果(客户审核要求@row =“不”,如果([实际最终或QA批准]@row = " ",“QA审核”、“批准”)))

    致以最亲切的问候

    Amit Wadhwani,智能表格社区冠军

    内容CoEIgnatiuz软件宾夕法尼亚州埃克斯顿

    https://www.linkedin.com/in/amitinddr/


    这个答案对你有帮助吗?把这个答案标记为“有见地”来表达你的爱或“棒极了”❤️和“请投票。⬆️

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

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

请查看公式手册模板!
Hi @mromaire<\/a>,<\/p>

Try this!<\/p>

=IF(RIGHT([xfmr#]@row, 1) = \"X\", \"277\/480\", IF(RIGHT([xfmr#]@row, 1) = \"E\", \"120\/208\", \"120\/240\"))<\/p>

Hope that helps!<\/p>

BRgds,<\/p>

-Ray<\/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":106771,"type":"question","name":"SUMIFS Formula for Column with Various Possible Returns","excerpt":"Hi there! I am a big Excel user switching to Smartsheet and need help with a SUMIFS formula. In Excel, the formula was: =SUM(SUMIFS('Outside Counsel Invoices'!$G:$G,'Outside Counsel Invoices'!$M:$M,\"FY23\",'Outside Counsel Invoices'!$D:$D,{\"=7607\",\"=7607*\"})) Since Wildcards (*) are not used in Smartsheet, I am struggling…","categoryID":322,"dateInserted":"2023-06-22T14:38:12+00:00","dateUpdated":null,"dateLastComment":"2023-06-22T18:57:32+00:00","insertUserID":162633,"insertUser":{"userID":162633,"name":"BuckeyeGirl72","url":"https:\/\/community.smartsheet.com\/profile\/BuckeyeGirl72","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T19:01:20+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-22T18:56:56+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":28,"score":null,"hot":3374907944,"url":"https:\/\/community.smartsheet.com\/discussion\/106771\/sumifs-formula-for-column-with-various-possible-returns","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106771\/sumifs-formula-for-column-with-various-possible-returns","format":"Rich","lastPost":{"discussionID":106771,"commentID":381826,"name":"Re: SUMIFS Formula for Column with Various Possible Returns","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381826#Comment_381826","dateInserted":"2023-06-22T18:57:32+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-22T18:56:56+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-22T18:38:09+00:00","dateAnswered":"2023-06-22T17:53:03+00:00","acceptedAnswers":[{"commentID":381809,"body":"

It looks like you have a mix of text strings and numerical values. Try the below. If that doesn't work then we do have one more option.<\/p>

SUMIFS({Range To Sum}, {Range To Evaluate}, OR(@cell = 7607, CONTAINS(\"7607\", @cell)))<\/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":106733,"type":"question","name":"Automated email to assigned people on a spreadsheet for updates","excerpt":"I have a sheet that has multiple lines assigned to different people. I'd like to send an automated email 14 days prior to an event day to update all the lines that are assigned to them. I dont want to use the Request an update workflow because it does it like a form and I really need it to be in a spreadsheet. Is it…","categoryID":322,"dateInserted":"2023-06-21T20:33:52+00:00","dateUpdated":null,"dateLastComment":"2023-06-22T16:22:42+00:00","insertUserID":159884,"insertUser":{"userID":159884,"name":"Connie Cochran","url":"https:\/\/community.smartsheet.com\/profile\/Connie%20Cochran","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-22T16:18:45+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-22T18:56:56+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":37,"score":null,"hot":3374834194,"url":"https:\/\/community.smartsheet.com\/discussion\/106733\/automated-email-to-assigned-people-on-a-spreadsheet-for-updates","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106733\/automated-email-to-assigned-people-on-a-spreadsheet-for-updates","format":"Rich","lastPost":{"discussionID":106733,"commentID":381773,"name":"Re: Automated email to assigned people on a spreadsheet for updates","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/381773#Comment_381773","dateInserted":"2023-06-22T16:22:42+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-22T18:56:56+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-22T16:18:59+00:00","dateAnswered":"2023-06-22T16:14:09+00:00","acceptedAnswers":[{"commentID":381766,"body":"

The alert will only send them rows that they are listed as assigned to. The entire sheet will not be shown in the email.<\/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":[]}">

公式和函数趋势