跨多个工作表的Sumif函数
我试图建立一个卷起表,从多个表拉的标准,到一个主文档。我一直有一个问题,当我从一个工作表更新公式范围,它更新所有的范围,当我不希望它这样做。
下面是一个例子:
对于每个FFE列,我有一个特定于每个项目组的公式(即:羽绒被套)。我想从每个工作表(例如SEA FFE)中总计到每个特定的行,然后将该公式复制到下一列(即。BOS 2 FFE),并让它更新范围。但是,当我复制公式并更新范围时,它会更新工作表上的所有范围。当我应该能够更新范围以找到下一个FFE表(MIN, KC及其他)时,我必须手动更新每个单元格,这似乎很疯狂。
公式的例子:
答案
-
Bassam Khalil ✭✭✭✭✭✭
你好@JennS_
希望你很好,如果我理解你的问题,你创建一个公式来求和项目,例如在表格SEA FFE中使用每一行的标准,然后你正在处理相同的公式,为相同的标准为表格BOS 2 FFE做同样的事情。
如果是这种情况,那么对于新表公式“BOS 2 FFE”,当您尝试引用新表“BOS 2 FFE”时,不要使用命令“编辑参考”,因为它正在编辑您用于表“SEA FFE”的相同参考。
而不是表“BOS 2 FFE”保持相同的公式,但只删除参考,然后添加新的参考:
公式示例如下:
表SEA FFE = SUMIFS({SEA FFE}, HAS(@cell, "Roadshow"))
将公式复制到BOS 2 FFE = SUMIFS({BOS 2 FFE}, HAS(@cell, "Roadshow"))之后
-
JennS_ ✭✭
这对我不起作用。我是从BOS 2中选择单元格吗?还是我引用了它所引用的表格?它给我的推荐信无效。请注意,每个单元格都是从不同的工作表中提取并汇总成本。
-
JennS_ ✭✭
-
Bassam Khalil ✭✭✭✭✭✭
-
JennS_ ✭✭
好吧,我刚跟你分享了。谢谢你!
-
Bassam Khalil ✭✭✭✭✭✭
你只分享了主表格,我没有权限查看你的参考资料,如果你能创建一个示例工作区,并添加2个表格和总结表格,这样我们就可以检查你面临的问题到底是什么。
帮助文章参考资料欧宝体育app官方888
If you have a unique ID (like ticket number) that is in both sheets, you could use DataMesh if you have access to that or cross sheet formulas to pull in the data you want based on the matching unique ID.<\/p>
Otherwise, you'd have to use an Add-on. If you are interested in hearing about an add-on that can do this, send me a message at https:\/\/smartsheetguru.com\/contact<\/a><\/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":106845,"type":"question","name":"Count function","excerpt":"Hi I need help with a formula. I have a column that I want to count but only based on a values in a different column. I have tried the following formula but it's not working and I can't figure out what I am doing wrong. =countif([Test Script #]:[Test Script #], [Pass ?]:[Pass ?], <> \"N\/A\") The Test Script # column is the…","categoryID":322,"dateInserted":"2023-06-23T17:50:06+00:00","dateUpdated":null,"dateLastComment":"2023-06-23T19:30:43+00:00","insertUserID":127983,"insertUser":{"userID":127983,"name":"Carol-Anne Cerbone","url":"https:\/\/community.smartsheet.com\/profile\/Carol-Anne%20Cerbone","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!h1jY4Qxc4TY!prNYaQRZvvo!a6wiwaB2GsY","dateLastActive":"2023-06-23T19:29:42+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"updateUserID":null,"lastUserID":127983,"lastUser":{"userID":127983,"name":"Carol-Anne Cerbone","url":"https:\/\/community.smartsheet.com\/profile\/Carol-Anne%20Cerbone","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!h1jY4Qxc4TY!prNYaQRZvvo!a6wiwaB2GsY","dateLastActive":"2023-06-23T19:29:42+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":8,"countViews":46,"score":null,"hot":3375096049,"url":"https:\/\/community.smartsheet.com\/discussion\/106845\/count-function","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106845\/count-function","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":106845,"commentID":382093,"name":"Re: Count function","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/382093#Comment_382093","dateInserted":"2023-06-23T19:30:43+00:00","insertUserID":127983,"insertUser":{"userID":127983,"name":"Carol-Anne Cerbone","url":"https:\/\/community.smartsheet.com\/profile\/Carol-Anne%20Cerbone","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!h1jY4Qxc4TY!prNYaQRZvvo!a6wiwaB2GsY","dateLastActive":"2023-06-23T19:29:42+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-23T19:30:46+00:00","dateAnswered":"2023-06-23T19:28:59+00:00","acceptedAnswers":[{"commentID":382092,"body":"