codecamp

EXCEL 求选定区域内不重复数据的个数

.中国教程网zhangditony翻译,转载请保留此信息 .
 

Counting number of unique entries in a specified range.  
By using SUMPRODUCT along with COUNT to count only the number
of unique entries in a specified range.
The range can be all in one column or row, or may span multiple (adjoining) columns/rows.
The formula would be written as: =SUMPRODUCT((1/COUNTIF(A1:C5,A1:C5)))
where A1:C5 is replaced with the range you want to apply the count to

求选定区域内不重复数据的个数的解题思路
1.用sumproduct函数配合countif函数求解
2.用sum函数配合countif函数求解,写完公式后按ctrl+shift+enter(数组公式)

求不重复数据的个数.jpg

EXCEL 找出一组数据中的最后一个数值
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }