东约翰 发表于 2021-11-12 21:27:00

单元格内有多个数值 如何统计区域内出现次数最多

A1单元格内有数值 0,1,2,3,15
A2单元格有数值 1,2,9
A3单元格内有数值 8,11
恳请指教,如何统计A1:A3区域内出现次数最多的数值 1,2

丶执着 发表于 2021-12-2 03:08:32

=MODE.MULT(IFERROR(--TRIM(MID(SUBSTITUTE(A1:A3,",",REPT(" ",99)),COLUMN(A:Z)*99-98,99)),""))

王亚雄 发表于 2021-12-12 03:46:47

选中C1:C2,在编辑栏粘贴公式:=MODE.MULT(--TRIM(MID(SUBSTITUTE($A$1&","&$A$2&","&$A$3,",",REPT(" ",50)),50*ROW($1:$10)-49,50)))

数组三键。

夜杯杯 发表于 2021-12-14 17:01:16

M2019
=MODE.MULT(FILTERXML("<a><b>"&SUBSTITUTE(TEXTJOIN(",",,A:A),",","</b><b>")&"</b></a>","a/b"))

渡红尘 发表于 2022-2-15 09:53:21

=MODE.MULT(IF(1-ISERR(FIND(","&COLUMN(A:O)&",",","&A1:A3&",")),COLUMN(A:O)))
页: [1]
查看完整版本: 单元格内有多个数值 如何统计区域内出现次数最多