我正在尝试在选择上设置交替行样式。我单击第一行并向下拖动到第 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)
公式有什么问题?