ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   get count of row without duplicate entries (https://www.excelbanter.com/excel-worksheet-functions/5303-get-count-row-without-duplicate-entries.html)

Aananth

get count of row without duplicate entries
 
Hi,

Need help in getting the following functions in excel, i need to get a count
of values in a row, if there are duplicate values they should not be
considered, how can this be done.

Need response ASAP.

Thanks,


Niek Otten

http://www.cpearson.com/excel/duplicat.htm#Replacing

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Aananth" wrote in message
...
Hi,

Need help in getting the following functions in excel, i need to get a
count
of values in a row, if there are duplicate values they should not be
considered, how can this be done.

Need response ASAP.

Thanks,




Aladin Akyurek


If you're looking for a distinct count...

=SUM(IF(A2:F2<"",1/COUNTIF(A2:F2,A2:F2)))

which you need to confirm with control+shift+enter instead of just with
enter.

If you're looking for a count of items with single-occurrence...

=SUMPRODUCT(--(COUNTIF(A2:F2,A2:F2)=1))

Aananth Wrote:
Hi,

Need help in getting the following functions in excel, i need to get a
count
of values in a row, if there are duplicate values they should not be
considered, how can this be done.

Need response ASAP.

Thanks,



--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=273561



All times are GMT +1. The time now is 01:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com