小编TRo*_*ano的帖子

为什么这个使用 MOD 和 ROW() 的简单 Excel 公式会出错

我正在尝试在选择上设置交替行样式。我单击第一行并向下拖动到第 145 行(数据结束的地方)。

然后我进入条件格式,选择新规则,并尝试输入这个公式:

=MOD(ROW(),2)=0
Run Code Online (Sandbox Code Playgroud)

当我单击“确定”时,我在 Excel 2016 中收到了这个不太有用的错误:

There's a problem with this formula. 
Not trying to type a formula? When the first character is 
an equal (=) or minus (-) sign, Excel thinks it's a formula.
<snip>
Run Code Online (Sandbox Code Playgroud)

公式有什么问题?

microsoft-excel

6
推荐指数
2
解决办法
1万
查看次数

标签 统计

microsoft-excel ×1