EXCEL 求選定區(qū)域內(nèi)不重復(fù)數(shù)據(jù)的個(gè)數(shù)

2018-09-23 13:57 更新
.中國教程網(wǎng)zhangditony翻譯,轉(zhuǎn)載請保留此信息 .
 

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

求選定區(qū)域內(nèi)不重復(fù)數(shù)據(jù)的個(gè)數(shù)的解題思路
1.用sumproduct函數(shù)配合countif函數(shù)求解
2.用sum函數(shù)配合countif函數(shù)求解,寫完公式后按ctrl+shift+enter(數(shù)組公式)

求不重復(fù)數(shù)據(jù)的個(gè)數(shù).jpg

以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號