Solved

Match formula for duplicate values

Posted on 2012-12-28
3
171 Views
Last Modified: 2012-12-28
Hi! Column A1:A25000 has data. This data has duplicates. How do I count total values excluding the repeating numbers? Thanks! P.S. I have Excel 2010.
0
Comment
Question by:Ladkisson
3 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
Try this array formula

=SUM(IF(FREQUENCY(IF(LEN(A2:A100)>0,MATCH(A2:A100,A2:A100,0),""), IF(LEN(A2:A100)>0,MATCH(A2:A100,A2:A100,0),""))>0,1))
0
 
LVL 7

Accepted Solution

by:
leptonka earned 200 total points
Comment Utility
Hi!

So you have numbers in column A? And you need how many different numbers you have?
Then you can use this formula:

=SUM(--(FREQUENCY(A1:A25000,A1:A25000)>0))
confirm with Ctrl+Shift+Enter.

Cheers,
Kris
0
 

Author Closing Comment

by:Ladkisson
Comment Utility
Great! Short to the point! Thank you!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now