值函数

普雷斯顿
普雷斯顿 ✭✭✭✭✭
编辑12/09/19 公式和函数

下面的公式有问题。版本1可以工作并从细胞中提取我需要的东西。然后我需要把它转换成一个数值。目前我得到#无效值。我肯定漏掉了什么,而且肯定很蠢。;)

  1. =(中期(活动链接)@row, FIND("/",[活动链接])@row)+ 1), ((FIND("*", [Active Link])@row)- 1) - (FIND("/",[活动链接])@row))))
  2. =价值(中期((活动链接)@row, FIND("/",[活动链接])@row)+ 1), ((FIND("*", [Active Link])@row)- 1) - (FIND("/",[活动链接])@row)))))
标签:

评论

  • 迈克Wilday
    迈克Wilday ✭✭✭✭✭✭

    嗯。您能分享数据或样本数据的截图,以便我们帮助解决问题吗?

  • 普雷斯顿
    普雷斯顿 ✭✭✭✭✭
    编辑12/26/18

    给你。感谢您的快速回复!:)

    2018-12-26 15 _26_45-clipboard.jpg

  • 迈克Wilday
    迈克Wilday ✭✭✭✭✭✭

    这显然是一个bug。我把你的公式拆开了,你是对的,它很好用。请联络支持并将url引用到这篇社区文章。我很想听听票的结果。

    有趣的是,如果我将您提供的第一个公式的结果放在一个名为“Helper”的列中,然后创建一个新列并将该值添加到公式的输出中,它就可以工作了。=值((电子邮件保护)

    Helper只是我选择的列的名称,它可以是任何东西…

    你有一个创建活动链接的公式吗?

    2018 - 12 - 26 - _13 25 - 30. - gif

  • 普雷斯顿
    普雷斯顿 ✭✭✭✭✭

    迈克,谢谢你的回应。我会提交支持票并公布结果。你是对的。在Active Link列中链接到的源单元格中有一个公式(见下文)。但是,如果引用单元格(通过公式)具有单元格链接或不具有单元格链接似乎并不重要。再次感谢大家的意见。

    • =如果条件统计(孩子((分配)@row),“Change”)= 0,“”,COUNTIF(CHILDREN([Assigned To])@row),“Change”)+“/”+ SUMIF(CHILDREN([Assigned To])@row)、“变更”、儿童(【合同金额】@row))+“*”+ SUMIFS(儿童)([合同金额]@row),儿童([分配给]@row),“变更”,儿童([提交批准]@row)1))
  • 迈克Wilday
    迈克Wilday ✭✭✭✭✭✭

    我不知道你是否可以在此期间使用助手列,但你可以创建一个新的列,称为“助手”,然后添加你的中间公式…然后隐藏列,然后对(电子邮件保护)或指定行号。请让我们知道支持说什么。

  • 普雷斯顿
    普雷斯顿 ✭✭✭✭✭

    迈克,我刚开始找帮手,技术支持就来了。根据支持部门的回应,我能够通过改变一些东西来实现我的目标(参见下面的第1条我的修改)。感谢您的帮助和回复!:)

    来自支持的Alicia(谢谢Alicia!)

    在回顾公式1时,除了数字之外,它似乎还引用了一些空格。请尝试通过更改FIND功能中正在添加/减去的数字来调整它。在我的测试中,通过使用:

    =价值(中期((活动链接)@row, FIND("/",[活动链接])@row)+ 2), ((FIND("*", [Active Link])@row)- 3) - (FIND("/",[活动链接])@row)))))



    你需要调整“2”或“3”取决于多少空格在你的单元格。

    我的修改:

    1. =IF(FIND("/", [Active Link])@row)> 0, VALUE(MID([Active Link]))@row, FIND("*",[活动链接]@row)+ 1), ((FIND("_", [Active Link])@row)- 1) - FIND("*",[活动链接]@row))))))

    2018-12-26 15 _26_45-clipboard.jpg

  • 保罗新来的
    保罗新来的 ✭✭✭✭✭✭

    很高兴他们能帮上忙。在看到支援人员帮你摆平之前,我先找到了空位。我知道“1”可以,但“1”(带空格)不行。如果在您试图提取的数字的任何一侧都有空格的可能性,您还可以在SUBSTITUTE函数中工作(就像格式发生变化时的另一种选择一样)。类似于……

    =价值(替代 (.........正常公式...........,“”,“”))

    这实际上是在运行VALUE函数之前从结果中删除所有空格。

    thinkspi.com

  • 普雷斯顿
    普雷斯顿 ✭✭✭✭✭

    理解,保罗。我很欣赏你的见解和想法。有些东西我必须通过艰难的方式来学习!:)

  • 保罗新来的
    保罗新来的 ✭✭✭✭✭✭

    总是乐于帮助和分享。是的

    thinkspi.com

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

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

请查看公式手册模板!
Try specifying an exact match within the MATCH function.<\/p>

=INDEX({Data SHPType}, MATCH(Course@row, {Data Course}, 0<\/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":106455,"type":"question","name":"Formula to count items in a cell separated by a semicolon","excerpt":"Good afternoon, could someone help me with a formula to count items in a cell separated by a semicolon and put the total in another? I have a column called: \"MRA Actives codes\", in which there are different medical codes separated by a semicolon, for example: I70.0: Atherosclerosis of aorta; I50.9: Heart failure…","categoryID":322,"dateInserted":"2023-06-14T19:20:24+00:00","dateUpdated":null,"dateLastComment":"2023-06-15T11:46:15+00:00","insertUserID":162381,"insertUser":{"userID":162381,"name":"VirginiaLazor","title":"Medical Risk Adjustment Auditor","url":"https:\/\/community.smartsheet.com\/profile\/VirginiaLazor","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!b1Dom3_UQfo!xekpcXON8bo!9w33zAjZR8S","dateLastActive":"2023-06-15T12:10:22+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-15T12:44:43+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":41,"score":null,"hot":3373603599,"url":"https:\/\/community.smartsheet.com\/discussion\/106455\/formula-to-count-items-in-a-cell-separated-by-a-semicolon","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106455\/formula-to-count-items-in-a-cell-separated-by-a-semicolon","format":"Rich","lastPost":{"discussionID":106455,"commentID":380725,"name":"Re: Formula to count items in a cell separated by a semicolon","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/380725#Comment_380725","dateInserted":"2023-06-15T11:46:15+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-15T12:44:43+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-15T12:03:29+00:00","dateAnswered":"2023-06-15T11:44:52+00:00","acceptedAnswers":[{"commentID":380724,"body":"

Hi @VirginiaLazor<\/a>,<\/p>

This should do the trick:<\/p>

=LEN([MRA ACTIVES CODES]@row) - LEN(SUBSTITUTE([MRA ACTIVES CODES]@row, \";\", \"//www.santa-greenland.com/community/discussion/38106/\"))<\/p>

This calculates the length of the MRA codes cell, then does the same if the semi-colons were removed and subtracts it to get the answer on how many of them there were.<\/p>

Hope this helps - if you have any issues then just post! 😊<\/span><\/p>"},{"commentID":380725,"body":"

If you remove the semi-colons and subtract that character count from the total character count WITH the semi-colons, that will tell you how many entries are in the cell.<\/p>


<\/p>

=LEN(Column Name]@row) - LEN(SUBSTITUTE([Column name]@row, \";\", \"//www.santa-greenland.com/community/discussion/38106/\"))<\/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":106453,"type":"question","name":"Row Status Indicator in Schedule","excerpt":"Wrote a formula to check two items and change and indicator light. Here is the code but it is saying incorrect argument set? =IF(Status@row <> \"Complete\", [Due Date]@row < TODAY(), \"Red\", IF(Status@row <> \"Complete\", [Due Date]@row >= TODAY(2), \"Yellow\", \"Green\")) I have reviewed everything multiple times and cannot figure…","categoryID":322,"dateInserted":"2023-06-14T19:15:28+00:00","dateUpdated":null,"dateLastComment":"2023-06-15T10:03:13+00:00","insertUserID":162256,"insertUser":{"userID":162256,"name":"delaurellc","title":"Senior Consultant","url":"https:\/\/community.smartsheet.com\/profile\/delaurellc","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-14T22:59:37+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-06-15T13:05:40+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":18,"score":null,"hot":3373594721,"url":"https:\/\/community.smartsheet.com\/discussion\/106453\/row-status-indicator-in-schedule","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106453\/row-status-indicator-in-schedule","format":"Rich","lastPost":{"discussionID":106453,"commentID":380712,"name":"Re: Row Status Indicator in Schedule","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/380712#Comment_380712","dateInserted":"2023-06-15T10:03:13+00:00","insertUserID":91566,"insertUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-06-15T13:05:40+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"}},"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-15T10:03:03+00:00","dateAnswered":"2023-06-14T22:55:59+00:00","acceptedAnswers":[{"commentID":380684,"body":"

I figured out the code and here it is in case anyone is trying to do the same thing<\/p>

=IF(AND([Due Date]@row < TODAY(), Status@row <> \"Complete\"), \"Red\", IF(AND([Due Date]@row = TODAY(2), Status@row <> \"Complete\"), \"Yellow\", \"Green\"))<\/p>

Caroline<\/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":9995,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

公式和函数趋势