Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Aananth
 
Posts: n/a
Default 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,

  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

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,



  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default


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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to eliminate duplicate entries Tara Keane Excel Discussion (Misc queries) 4 March 2nd 05 05:33 PM
I want to delete rows with duplicate entries within one column. kini olegario Excel Discussion (Misc queries) 1 January 15th 05 01:44 AM
Multiple Files, Duplicate Entries PMSunshine77 Excel Discussion (Misc queries) 1 December 10th 04 08:28 PM
filter and count rexmann Excel Discussion (Misc queries) 2 November 30th 04 02:11 PM
How to count matching text Duplicateman Excel Discussion (Misc queries) 6 November 26th 04 08:40 AM


All times are GMT +1. The time now is 12:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"