简体   繁体   English

使用SUMIF函数时,如何在同一工作簿中的另一个工作表中引用另一个单元格作为通配符?

[英]How to reference another cell as a wildcard from a separate worksheet, within the same workbook, when using SUMIF function?

I am trying to use the contents of a cell from a different worksheet as part of the wildcard criteria within my SUMIF function elsewhere. 我试图将其他工作表中单元格的内容用作我的SUMIF函数中其他位置的通配符条件的一部分。 Here is what I have that is returning the correct value: 这是我所返回的正确值:

=SUMIF('PASTE SAP DATA HERE'!H:H,'PASTE SAP DATA HERE'!L:L,D23&"*")

I would like to use the same value within D23 but from a separate worksheet where it should be stored: 我想在D23中使用相同的值,但使用单独的工作表中应存储该值的地方:

=SUMIF('PASTE SAP DATA HERE'!H:H,'PASTE SAP DATA HERE'!L:L,'March SAP Core Data'!A18&"*")

The second attempt currently returns the value 0. Any help would be greatly appreciated! 当前第二次尝试返回值0。非常感谢您的帮助!

"Look at the data, make sure there are no spaces or other non visible characters that might be throwing off the matches. If the matches are numbers or dates, make sure that both are true numbers or dates and not text that look like numbers or dates. The formula looks like it should work. – Scott Craner" “查看数据,请确保没有空格或其他不可见的字符可能会丢失匹配项。如果匹配项是数字或日期,请确保两者都是真实的数字或日期,而不是看起来像数字或数字的文本日期。该公式看起来应该有效。– Scott Craner”

-From comments -来自评论

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 基于单元格值的参考工作表 - Reference worksheet based on the cell value 引用另一个工作簿中的单元格。 如果值相等,则不刷新我的查询 - Reference a cell in another workbook. And make my query not refresh if values are equal 如何从另一个函数访问在函数内创建的对象 - How to access an object created within a function from another function 如何从一张表中调用 SQL 订单 Function 作为对另一张表的参考? - How to call an SQL Order Function from one table as reference to another? 使用另一个表的引用从同一表中选择SQLite连接 - SQLite join selection from the same table using reference from another table 一个Excel宏,可以使用两列中的数据将新行添加并填充到单独的工作表中 - An Excel macro that can add and populate a new row to a separate worksheet using data from two columns 如何创建SSIS包以从同一服务器中的一个数据库更新到另一个数据库 - How to create SSIS package to update from one database to another database within same server 将数据从一个工作簿传输到另一个工作簿 - Transfer data from one workbook to another 当我在同一个 model 中引用 class 时,为什么 Django 会给我一个 ValueError? - Why is Django giving me a ValueError when I reference a class within the same model? Postgres:如何创建参考单元? - Postgres: How to create reference cell?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM