简体   繁体   English

Excel-识别空列的最简单方法

[英]Excel - Easiest way to identify empty columns

I have a formula like this: =COUNTBLANK(BA3:BA21771)/ROWS(BA3:BA21771) I have columns that extend all the way out to KM. 我有一个这样的公式:= COUNTBLANK(BA3:BA21771)/ ROWS(BA3:BA21771)我的列一直延伸到KM。 I really don't want to have modify each column's formula like so: 我真的不想像这样修改每列的公式:

=COUNTBLANK(BA3:BA21771)/ROWS(BA3:BA21771) =COUNTBLANK(BB3:BB21771)/ROWS(BB3:BB21771) =COUNTBLANK(BC3:BC21771)/ROWS(BC3:BC21771) = COUNTBLANK(BA3:BA21771)/ ROWS(BA3:BA21771)= COUNTBLANK(BB3:BB21771)/ ROWS(BB3:BB21771)= COUNTBLANK(BC3:BC21771)/ ROWS(BC3:BC21771)

There must be an easier way! 一定有更简单的方法! Any help? 有什么帮助吗?

您熟悉Edit-> Fill Right吗?

You can "Fill Right" from the original formula, and it will copy the formula with an updated column label. 您可以从原始公式中“向右填充”,它将使用更新的列标签复制公式。

Highlight the cell with the formula, and then using the black + at the bottom right of the cell, drag the box right to fill in the other columns. 用公式突出显示该单元格,然后使用该单元格右下方的黑色+,向右拖动该框以填充其他列。 Each column will have the same formula, but will replace BA with BB, BC, BD, and so on. 每列将具有相同的公式,但是将用BB,BC,BD等替换BA。

If you need to anchor a column, you can use the '$' prefix, eg $BA. 如果需要锚定列,则可以使用“ $”前缀,例如$ BA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM