A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calc duplicates



 
 
Thread Tools Display Modes
  #1  
Old November 11th, 2009, 10:53 AM posted to microsoft.public.excel.misc
backmara
external usenet poster
 
Posts: 11
Default Calc duplicates

Hi,
I need function to calculating duplicates, how I create this?
A1: 1
A2: 2
A3: 2
A4: 3
A5: 3
A6: 3
A7: 4
A8: 5

Example answers:
Duplicates value A9: 3
unique values A10: 5

This is same functions that tool remove duplicats, but i haveto do this
automatically.

  #2  
Old November 11th, 2009, 11:20 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Calc duplicates

Check your previous post

--In cell A8
=MAX(FREQUENCY(A1:A7,A1:A7))

--In cell A9
=SUMPRODUCT((A1:A7"")/COUNTIF(A1:A7,A1:A7&""))

Incase your data do not have any blank entries you can try the below formula
=SUMPRODUCT(1/COUNTIF(A1:A7,A1:A7))

If this post helps click Yes
---------------
Jacob Skaria


"backmara" wrote:

Hi,
I need function to calculating duplicates, how I create this?
A1: 1
A2: 2
A3: 2
A4: 3
A5: 3
A6: 3
A7: 4
A8: 5

Example answers:
Duplicates value A9: 3
unique values A10: 5

This is same functions that tool remove duplicats, but i haveto do this
automatically.

  #3  
Old November 11th, 2009, 11:38 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Calc duplicates

Oops

A8 should be
=COUNTA(A1:A7)-SUMPRODUCT((A1:A7"")/COUNTIF(A1:A7,A1:A7&""))


If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Check your previous post

--In cell A8
=MAX(FREQUENCY(A1:A7,A1:A7))

--In cell A9
=SUMPRODUCT((A1:A7"")/COUNTIF(A1:A7,A1:A7&""))

Incase your data do not have any blank entries you can try the below formula
=SUMPRODUCT(1/COUNTIF(A1:A7,A1:A7))

If this post helps click Yes
---------------
Jacob Skaria


"backmara" wrote:

Hi,
I need function to calculating duplicates, how I create this?
A1: 1
A2: 2
A3: 2
A4: 3
A5: 3
A6: 3
A7: 4
A8: 5

Example answers:
Duplicates value A9: 3
unique values A10: 5

This is same functions that tool remove duplicats, but i haveto do this
automatically.

  #4  
Old November 11th, 2009, 12:04 PM posted to microsoft.public.excel.misc
Ms-Exl-Learner
external usenet poster
 
Posts: 522
Default Calc duplicates

Try this…

In B1 cell apply the below formula

=IF(COUNTIF($A$1:$A$8,A1)1,"",1)

Now copy the B1 cell and paste it upto B8.

In A9 Use this formula

=SUM(B1:B8)

OR

=COUNT(B1:B8)

In A10 use this formula

=COUNT(A1:A8)-SUM(B1:B8)

OR

=COUNT(A1:A8)-COUNT(B1:B8)

I don’t know whether this is the exact method is used for this, just I have
given my suggestion…

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"backmara" wrote:

Hi,
I need function to calculating duplicates, how I create this?
A1: 1
A2: 2
A3: 2
A4: 3
A5: 3
A6: 3
A7: 4
A8: 5

Example answers:
Duplicates value A9: 3
unique values A10: 5

This is same functions that tool remove duplicats, but i haveto do this
automatically.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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