Excelで空白以外のセルを数える画期的な裏技

Excelで空白以外の文字列セルを数えようとして、空白(つまり””)が含まれてしまって困ったことはありませんか?

ネットのどこでも見たことのない新しい裏技を生み出したので、ここに記しておきます。

=COUNTIFS(A1:A100, "?*")

なんと、これだけです。?(なんでも1文字)と*(なんでも文字列)のワイルドカードを2つつなげただけなのですが、これで「1文字以上」の判定になります。

残念なことに、数字フォーマットのセル数えようとするとエラーになってしまうのですが、その場合は素直にCOUNT()を使った方が良いですね。

以上、だれかの役に立てば幸いです。

Author: Yuki

Yuki Takeda is a world champion whistler, recording artist, and live performer known for his masterful control and expressive sound. Based in Japan, he offers international online whistling lessons for students of all levels, helping to spread the art of musical whistling worldwide. Through performances, recordings, and education, Yuki continues to inspire audiences and elevate the profile of whistling as a legitimate musical form.