COUNTIF data counting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use the COUNTIF function to eliminate duplicate job applications.

Application serial number is in column A, each application ser# is 11 digits
Applicant SSN is in column B
Column C has formula =A1&"."&B1
Column D has formula =COUNTIF(A1:A15000,A1)

The problem that seems to have risen is that the COUNTIF function only looks
at the first 15 digits. What is happening now is we have people with similar
SSN's applying for the same job and they are being grouped together. Is there
a way to make COUNTIF look at the entire string of digits, or is there
another function that can be used?

Thanks for any help.
 
joebogey said:
Column D has formula =COUNTIF(A1:A15000,A1)

I'm assuming you mean:

=COUNTIF(C$1:C$15000,C1)

Try instead:

=SUM(--(C1=C$1:C$15000))

entered as an array formula with <Ctrl> <Shift> <Enter>.
 
I tried that and it worked perfectly. I was just wondering if you could give
an explanation of exactly how this is working, such as what the "--" does to
the formula?

Sorry, once I implement this I'll probably have to explain how it works.

Thanks for your help, I really appreciate it.
Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top