通过 ODBC 连接到 Databricks 时,如何防止 Excel 中的 #REF 错误?

发布于 2025-01-16 13:53:51 字数 295 浏览 2 评论 0原文

我有一个使用 ODBC 连接连接到 Azure Databricks 的 Excel 文件。我的目标是能够打开 Excel 文件,点击数据选项卡上的“全部刷新”,并将 Excel 报告中的最新数据放在名为“数据”的自己的工作表上。有时(我无法重现此错误),当我引用该“数据”表时,我会收到#REF!即使再次刷新数据后,错误也不会消失。

有谁知道造成这种情况的原因,您可以帮助我采取措施来防止这种情况发生吗?

如果重要的话,“数据”表始终具有相同的行数和列数。

我在 Youtube 和 Google 上搜索了答案,但没能找到解决办法。

I've got an excel file that connects to Azure Databricks using an ODBC connection. My goal is to be able to open the excel file, hit "Refresh All" on the data tab, and have the newest data in my excel report on its own sheet called "Data". Occasionally (and I cannot recreate this error), when I reference that "Data" sheet, I get a #REF! error that does not go away even after refreshing the data again.

Does anybody know what causes this, and you help me take steps to prevent this?

In case it matters, the "Data" sheet always has the same number of rows and columns.

I've searched Youtube and Google for answers, but I've not been able to find a fix.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

水波映月 2025-01-23 13:53:51

#REF!删除Excel中的行或列引起的错误

解决引用错误的两种方法

  1. 如果您不小心删除了行或列,可以立即单击CTRL Z


  2. 调整公式,使其使用范围引用而不是单个单元格,例如 =SUM(B2:D2 ),如果删除此范围内的任何列,系统会自动调整。

“刷新全部”并通过 ODBC 连接到 Databricks,工作正常。

您可以按照此参考:

https://support.microsoft.com/en-us/office/how-to- Correct-a-ref-error-822c8e46-e610-4d02-bf29-ec4b8c5ff4be

#REF! error caused by deleting a Rows or Columns in Excel

Two Ways You Can Solve Ref Error

  1. if you accidentally deleted rows or columns, you could Immediately click CTRL Z

  2. Adjust the formula so that it uses a range reference instead of individual cells, Example like =SUM(B2:D2) ,if you delete any column in this range automatically adjusted.

“Refresh All” and connect to Databricks through ODBC it Works fine.

You can follow this Reference:

https://support.microsoft.com/en-us/office/how-to-correct-a-ref-error-822c8e46-e610-4d02-bf29-ec4b8c5ff4be

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文