奇怪的交叉表参考问题

好的,我有三张纸,


  1. 作业单
  2. 成本表
  3. 报价数据表(通过Zap从Xero导入)。


在工作和成本表中,我感兴趣的是记录报价号码。在作业和成本表的报价号栏中,我分别有这些公式....


= IFERROR(指数({DATA_QuoteNo}匹配(DATA_ID @row, {DATA_ID}, 0)),“没有引用”)


= IFERROR(指数({JOB_QuoteNo}匹配(JOB_ID @row, {JOB_ID}, 0)),“没有引用”)


这是奇怪的部分....第一个公式正确地返回引号数,但第二个公式返回“No quote”…我以为我犯了某种公式错误,我把公式简化为……


=指数({JOB_QuoteNo},配(JOB_ID @row, {JOB_ID}, 0))


但是结果是“无报价”,这意味着成本表将作业表单元格读取为“无报价”,尽管所有列都填充了实际报价号码……奇怪。


有人有什么想法吗?

答案

  • @BullandKhmer-如果没有看到数据样本,很难确切地说问题可能是什么,但我总是建议的一个故障排除步骤是右键单击表格中构建公式的任何单元格,选择“管理引用”,然后检查每个单元格,以确保引用应用于正确的列(以及整个列,而不仅仅是某些特定的单元格)。

    image.png


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

    我同意斯科特的观点!

    从你的描述,我要做的第一件事是检查你的第一个参考是指向:

    =指数({JOB_QuoteNo}匹配([JOB_ID] @row {JOB_ID}, 0))


    如果没有匹配,我预计会出现no MATCH错误,而不是“no Quote”值。是否有任何与“无报价”相关的职位标识?

    我同意看到源数据会有帮助,但请屏蔽敏感数据。

    欢呼,

    吉纳维芙

  • BullandKhmer
    BullandKhmer ✭✭✭✭✭

    @Genevieve P。这只是一个有空格的Smartsheet…它决定自行解决。在源列{JOB_QuoteNo}中没有“No Quote”选项。

帮助文章参考资料欧宝体育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/101088/\"))<\/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/101088/\"))<\/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-15T12:58:48+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-15T12:58:48+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":[]}">

公式和函数趋势