请参考是不是要这样的数据。。。我放在公式形态中设置也放在后面C列设置了。你自己看要哪一个都可以的。。
合并单元格.rar
参考-https://bbs.fanruan.com/wenda/question/74051.html
count函数-https://help.fanruan.com/finereport/doc-view-869.html
插入B列,设置为公式:A7 + "\n(" + count(C7{A7 = $A7}) + "人" + ")",隐藏A列