如何使用公式计算一段文本在Google表格中的某个范围内出现的总次数?

问题描述

如何使用公式计算一段文本在Google表格中的某个区域中出现的总次数链接到Google表格: https://docs.google.com/spreadsheets/d/161UHaeiMJ_FNdRErgkdnUqEvbBUutqdq1uHat7GjXXA/edit

解决方法

尝试:

=QUERY(FLATTEN(SPLIT(TEXTJOIN(",",1,B2:L5),")),"select Col1,count(Col1) 
  where Col1 is not null 
  group by Col1 
  label count(Col1)''")

enter image description here