excel输入公式不计算

What happens when good Excel formulas go bad? A workbook of mine that worked fine for several years, when using Excel 2003, suddenly refused to update all the formulas, after a switch to Excel 2010. Even more mysterious, the calculations worked fine on some machines, but not others. Why are Excel formulas not calculating on some computers?

好的Excel公式变坏会怎样? 我的一个工作簿在使用Excel 2003时可以正常工作数年,但是在切换到Excel 2010之后突然拒绝更新所有公式。更神秘的是,这些计算在某些计算机上可以正常工作,但在其他计算机上却可以。 为什么某些计算机上无法计算Excel公式?

Hint: It wasn't one of the obvious solutions.

提示:这不是显而易见的解决方案之一。

检查自动计算 (Check for Automatic Calculation)

When someone complains about Excel formulas not calculating , it's usually because the Calculation setting has been changed to Manual, instead of Automatic.

当有人抱怨Excel公式没有计算时,通常是因为“ 计算”设置已更改为“手动” ,而不是“自动”。

That can happen if the first workbook that you open in an Excel session was saved as Manual calculation. That setting affects all the other workbooks the you open during that session.

如果您在Excel会话中打开的第一个工作簿被保存为“手动计算”,则会发生这种情况。 该设置会影响您在该会话期间打开的所有其他工作簿。

In this case, the workbook calculation was set to Automatic on all the machines – that's the first thing we checked.

在这种情况下,工作簿计算在所有计算机上都设置为“自动” –这是我们检查的第一件事。

To check the setting, click the Formulas tab on the Excel Ribbon, and click the Calculate Options drop down.

要检查设置,请单击Excel功能区上的“公式”选项卡,然后单击“计算选项”下拉菜单。

Or, go to the Excel Options window, and click Formulas.

或者,转到“ Excel选项”窗口,然后单击“公式”。

强制计算 (Force the Calculation)

Even if the Calculation option is set for Manual, you can use a Ribbon command or keyboard shortcut to force a calculation.

即使将“计算”选项设置为“手动”,您也可以使用功能区命令或键盘快捷键来强制执行计算。

Click the Formulas tab on the Excel Ribbon, and click Calculate Now or Calculate Sheet.

单击Excel功能区上的“公式”选项卡,然后单击“立即计算”或“计算工作表”。

n the tooltip that is shown in the screen shot below, you can see that the shortcut for Calculate Sheet is Shift + F9.

在下面的屏幕快照中显示的工具提示中,您可以看到Calculate Sheet的快捷方式是Shift + F9

We tried using the Calculation shortcuts, including Ctrl + Alt + Shift + F9 (that one recalculates everything, and starts your car).

我们尝试使用“计算”​​快捷方式,包括Ctrl + Alt + Shift + F9 (可以重新计算所有内容,然后启动您的汽车)。

However, none of the shortcuts had any effect on the non-calculating cells in this workbook. I also tried a macro that did a full calculation, and that didn't work either. Sigh.

但是,快捷方式都没有对本工作簿中的非计算单元产生任何影响。 我还尝试了一个可以进行完整计算的宏,但是它也不起作用。 叹。

用VBA启动公式 (Kick Start the Formulas with VBA)

Next I wrote a macro that replaced all the "=" signs at the start of all formulas in the workbook. This has a similar effect to manually selecting a cell, clicking in formula bar and pressing the Enter key, to recalculate the cell.

接下来,我写了一个宏,替换了工作簿中所有公式开头的所有“ =”符号。 这与手动选择一个单元格,单击公式栏并按Enter键以重新计算该单元格具有相似的效果。

Sometimes that brings a tired formula back to life, but not in this case. These formulas weren't sleeping, they were deceased!

有时,这会使疲惫的配方恢复生机,但在这种情况下不会。 这些配方没睡着,已经死了!

更改公式中的命名范围 (Change the Named Range in the Formula)

I spent a considerable amount of time in Google, looking for other suggestions, but didn't find anything new. So, I kept tweaking and testing, going through the file one worksheet at a time.

我在Google上花费了大量时间,寻找其他建议,但没有发现任何新内容。 因此,我不断进行调整和测试,一次浏览一个文件。

Finally, I found the formulas that seemed to be causing the problem. They were SUMIF formulas that referred to a named range on another worksheet.

最后,我发现了似乎引起问题的公式。 它们是SUMIF公式 ,引用了另一个工作表上的命名范围。

=IF(B7="",0,SUMIF(DataEntryStep2a,E7,$D$7:$D$22))

= IF(B7 =“”,0,SUMIF( DataEntryStep2a ,E7,$ D $ 7:$ D $ 22))

There was no obvious reason why that wouldn't work in Excel 2010, but I was getting desperate. So, I changed the named range to a worksheet reference, using cells on the same worksheet.

没有明显的原因为什么这在Excel 2010中不起作用,但我感到绝望。 因此,我使用同一工作表上的单元格将命名范围更改为工作表引用。

=IF(B7="",0,SUMIF($E$7:$E$22,E7,$D$7:$D$22))

= IF(B7 =“”,0,SUMIF( $ E $ 7:$ E $ 22 ,E7,$ D $ 7:$ D $ 22))

Miraculously, that solved the problem! I held my breath, while we tested on a few more machines, and everything calculated as it was supposed to.

奇迹般地解决了问题! 我屏住呼吸,在更多的机器上进行测试时,一切都按预期进行了计算。

Why that worked, I have no idea, but if you run into a similar problem, maybe it will help you too. Of course, this solution could stop working again, at the next lunar eclipse!

为什么不行,我不知道,但是如果您遇到类似的问题,也许对您也有帮助。 当然,在下一个月食时,此解决方案可能会再次停止工作!

[Update] There is problem with SUMIF, SUMIFS, AVERAGEIF and  AVERAGEIFS, in Excel 2010, when the references are on a different sheet. Thanks to Stuart Valentine, who posted a link to a discussion of this SUMIFS problem. My named range was on a different sheet, so the location was the problem.

[更新]当引用位于不同的工作表上时,Excel 2010中的SUMIF,SUMIFS,AVERAGEIF和AVERAGEIFS出现问题。 感谢Stuart Valentine,他发布了有关此SUMIFS问题的讨论的链接。 我的命名范围在另一张纸上,所以位置是问题所在。

观看视频 (Watch the Video)

In most cases though, the problem is the Automatic Calculation setting.

但是,在大多数情况下,问题是“自动计算”设置。

To see the effects of opening Excel workbooks with different calculation option settings, watch this short Excel tutorial video.

若要查看使用不同的计算选项设置打开Excel工作簿的效果,请观看此简短的Excel教程视频。

演示地址

翻译自: https://contexturesblog.com/archives/2012/02/16/excel-formulas-not-calculating/

excel输入公式不计算


http://www.taodudu.cc/news/show-6572259.html

相关文章:

  • Excel单元格“公式不能自动计算” ?你一定踩了这4个症状
  • 大华摄像头奇怪现象:WIFI丢失
  • python_获取网络(大华)摄像头画面,并存储为图片和视频
  • 大华摄像头获取yuv数据
  • 通过WEB调用大华网络摄像头
  • ssm框架+MySQL批量添加和删除
  • 【Aizu ALDS1_1_D --- Maximum Profit】
  • J2EE进阶之HTML 一
  • js获取不到模板DOM元素
  • 有向图 寻路算法_第2部分探索寻路图算法
  • Spark操作外部数据源(RDBMS,Hive,HBase,Parquet)
  • Vue day06 路由
  • 前端表格在线编辑、删除行列
  • Latex表格在线自动生成及word表格转Latex方法
  • LayUI表格在线编辑动态修改列数据
  • vue.js的element表格在线编辑的正确姿势vue-element-extends
  • Excel 表格在线转Markdown 或 HTML 或 LaTeX代码
  • html 表格在线生成,jQuery表格生成插件Table.js
  • WatchKit FAQ
  • 【电脑运用及修理】Google Chrome 浏览器
  • 2月英语--感谢没有放弃
  • 2018年2月 英语--anything is OK
  • 2月英语总结——遇见AJ
  • 二月英语总结
  • 【English】二月英语总结
  • 只要2.5分钟!机器手轻松完成最危险复杂的手术
  • 骨传导耳机好不好,骨传导耳机有什么危害
  • 一个奇怪的现象
  • 这是一个三年前就应该开的博客
  • 我的PMP数字徽章

excel输入公式不计算_Excel公式不计算相关推荐

  1. 计算机上怎么在表格输入分秒,excel输入分秒和分秒计算例子

    内容提要:excel输入分秒,其实是有技巧可以简化输入的.本文就和大家分享excel输入分秒的技巧和关于分秒计算的一个例子. 我们以一个具体的excel输入分秒实例来演示操作步骤.比如A1单元格为30 ...

  2. Excel输入公式计算只显示公式不出结果

    问题描述: Excel输入公式计算只显示公式不出结果 产生原因: Excel设置是显示公式,因此不会出现计算结果 也有人说是因为单元格格式为文本格式所以不出结果,但是经过本人测试,在上述公式的形式下无 ...

  3. Excel输入公式后只显示公式却不计算如何解决?

    在使用Excel函数公式的时候,您是否碰到过输入公式,按下Enter键之后,单元格仍只显示公式,而不显示计算结果. 工具/原料 Excel 教程以Excel2013为例 方法/步骤 教程以新建的电子文 ...

  4. excel如果包含某个字就显示_Excel公式基础知识

    批量输入公式 选取要输入的区域,在编辑栏中输入公式,按CTRL+ENTER即可批量填充公式. 2批量修改公式 如果是修改公式中的相同部分,可以直接用替换功能即可. 3快速查找公式 选取表格区域 - 按 ...

  5. excel常用函数公式及技巧_Excel统计类函数公式应用技巧解读,绝对的硬核干货!...

    Excel的功能在于对数据进行统计和计算,其自带了很多的函数,利用这些函数可以完成很多的实际需求,经过加工和处理,还可以组成很多的公式,其功能就更加的强大,今天,小编带大家了解一下Excel中的常用的 ...

  6. 怎么利用计算机公式计算完成比例,excel表格数据计算所占比例公式的使用教程...

    Excel中经常需要使用到公式计算所占比例,所占比例具体该如何利用函数进行计算呢?接下来是学习啦小编为大家带来的excel表格数据计算所占比例公式的使用教程,供大家参考. excel表格数据计算所占比 ...

  7. 计算机利用公式计算实发工资怎么弄,如何在excel 表中 添加税收计算程序?excle中计算税收的公式...

    Excel新个税的计算公式 =ROUND(MAX((A2-5000)*{0.03;0.1;0.2;0.25;0.3;0.35;0.45}-{0;210;1410;2660;4410;7160;1516 ...

  8. WPS、Excel对大量数据进行统计公式计算

    WPS.Excel对大量数据进行统计公式计算 对处理大量数据时,在wps.excel中,总会对数据进行统一公示处理,然而数据过多使用表格下拉的方法,会极大的浪费我们的时间,使用快捷键则成为首要之选. ...

  9. 在EXCEL表格中经常会遇到有合并单元格时,汇总计算的公式无法直接下拉自动填充计算,掌握这个小技巧一键汇总

    在EXCEL表格中经常会遇到有合并单元格时,汇总计算的公式无法直接下拉自动填充计算,掌握这个小技巧一键汇总 目录 在EXCEL表格中经常会遇到有合并单元格时,汇总计算的公式无法直接下拉自动填充计算,掌 ...

最新文章

  1. Android平台调用WebService详解
  2. Struts2/WebWork高危漏洞(远程执行任意代码)
  3. 双边滤波算法的原理、流程、实现及效果
  4. 10分钟让你明白什么是ERP
  5. GradSearchCv 自定义验证集
  6. day12-nginx
  7. java 线程简介_java多线程介绍
  8. Spring的国际化(转载)
  9. chr sqlserver_SQLServer常用函数对比
  10. 纽约时报:昔日王者Digg能否实现中兴?【独家】
  11. Oracle体系概要
  12. SSL证书检查吊销状态
  13. 数字展示领域该这样用 沉浸式方案应用解读
  14. 计算机应用论文投稿模板,标准期刊论文格式模板
  15. Opencv+Moviepy实现涂鸦视频和视频音轨分离合并操作。
  16. 基于基础c语言的水仙花数编程方法
  17. Hadoop之金庸江湖人物关系网分析
  18. 白鹭引擎 4.0 发布 让重度H5游戏研发更简单
  19. 「科技与安全」RK3568J核心板让隔离网闸更强大
  20. Python实现天气查询功能(外加Excel技巧)

热门文章

  1. python爬虫——BeautifulSoup库函数find_all()
  2. 弹性工作制让企业留得住人
  3. Google play谷歌商店发布应用2021
  4. 用于喵喵111111111111111111
  5. CMD命令行:查看 Windows 操作系统的安装时间
  6. ZBrush:自定义QuickSave路径
  7. 烂怂if-else代码优化方案 | 京东云技术团队
  8. 权值简化(1):三值神经网络(Ternary Weight Networks)
  9. TDA4 整理一些资料
  10. 关于微信公账号H5 API 调用的坑 BUG