1、选中要输入公式的第一个单元格,SHIFT+CTRL+方向键下,在编辑栏中输入公式,按下CTRL+回车; 2、先输入要填充的公式,按下SHIFT+CTRL+方向键下,再按下CTRL+D
# 为PASS时有填充颜色 $开头的为绝对引用,当下拉公式时位置不会变 =IF($B11="PASS",1,0)