计算范围(列)中的小写字母

时间:2015-08-05 13:56:33

标签: count excel-formula

我已将个人姓名的最后一个字母分成一个单独的列,以便计算列中的小写字母数。这些可以是字母表中的任何字母,如果它们是小写字母,我只想计算它们。任何援助将不胜感激。谢谢。

1 个答案:

答案 0 :(得分:1)

使用VBA自定义功能非常容易 - 但由于标签中没有提及,您可以使用Sumproduct和Exact的组合来基本上做区分大小写的Countif

=SUMPRODUCT(EXACT({"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},D1)*1)

我希望这有助于