How to count cells excluding repeat info

M

mwfernandez

How do you create a formula or count information in a range of cells an
exclude any repeat information? For example, I have vulnerabilitie
listed in Column A and IP addresses listed in Column B. I want to b
able to count how many machines are in the spreadsheet or how man
vulernabilities.

Column A Column B
MS04-007 69.90.32.44
MS04-007 69.90.32.45
MS04-007 69.90.32.46
MS04-014 69.90.32.44
MS04-014 69.90.32.48
MS03-028 69.90.32.55
MS04-025 69.90.32.44
MS04-025 69.90.32.52

4 Vulnerabilities; 6 Machines

I would appreciate any help in this matter as it would stop me fro
counting all this manually. I have a spreadsheet currently with 45,00
rows
 
D

Domenic

Vulnerabilities...

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

Machines...

=SUM(IF(B2:B1000<>"",1/COUNTIF(B2:B1000,B2:B1000)))

These formulas need to be entered using CONTROL+SHIFT+ENTER.

Hope this helps
 
S

student

These formulas need to be entered using CONTROL+SHIFT+ENTER.
What do you mean by that and how do you do it. I have seen this many times
in this group never got the purpose.

Thanks
 

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

Top