Excel 公式查找 Power 查询表会导致列引用发生变化
我正在尝试使用以下基本 XLOOKUP 公式查找 Power 查询结果的 Z 列中的数据,但是每次刷新数据时 Excel 都会自动调整列引用。在下面的示例中,对 Z 列的引用更改为 AB。我不知道如何解决这个问题。
=IF(XLOOKUP('ATB 申请表'!$C2&'ATB 申请表'!$D2,EzeModeling!$N:$N&EzeModeling!$O:$O,EzeModeling!$AB:$AB< /strong>,0,0)=0,"",XLOOKUP('ATB 申请表'!$C2&'ATB 申请表表格'!$D2,EzeModeling!$N:$N&EzeModeling!$O:$O,EzeModeling!$AB:$AB,0,0))
I am trying to lookup the data in column Z of my power query results using the following basic XLOOKUP formula, however Excel auto adjusts the column reference each time I refresh the data. In the example below, the reference to column Z changed to AB. I'm at a loss on how to fix this.
=IF(XLOOKUP('ATB Request Form'!$C2&'ATB Request Form'!$D2,EzeModeling!$N:$N&EzeModeling!$O:$O,EzeModeling!$AB:$AB,0,0)=0,"",XLOOKUP('ATB Request Form'!$C2&'ATB Request Form'!$D2,EzeModeling!$N:$N&EzeModeling!$O:$O,EzeModeling!$AB:$AB,0,0))
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在公式中使用结构化表格引用,而不是列字母。
您还可以使用 LET 来使其更高效且更易于理解:
Use structured table references in your formula, not column letters.
You can also use LET to make this more efficient and easier to understand: