PC Review


Reply
Thread Tools Rate Thread

How to count cells excluding repeat info

 
 
mwfernandez
Guest
Posts: n/a
 
      31st Aug 2004
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

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Domenic
Guest
Posts: n/a
 
      31st Aug 2004
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

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
student
Guest
Posts: n/a
 
      1st Sep 2004
> 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


"Domenic >" <<(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> 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!
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      1st Sep 2004
See Chip Pearson's site for info on Arrays and the reason for
CRTL + SHIFT + ENTER

http://www.cpearson.com/excel/array.htm

Gord Dibben Excel MVP


On Wed, 1 Sep 2004 17:57:16 +0530, "student" <(E-Mail Removed)> wrote:

>> 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
>
>
>"Domenic >" <<(E-Mail Removed)> wrote in message
>news(E-Mail Removed)...
>> 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!
>>
>>
>> ---
>> Message posted from http://www.ExcelForum.com/
>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excluding Cells From Avg Cals Due to Info in different col redstar_ Microsoft Excel Worksheet Functions 6 18th Nov 2009 05:06 AM
how do i count specific text strings excluding blank cells? =?Utf-8?B?c2tpanNoMTk3OQ==?= Microsoft Excel Worksheet Functions 2 14th Jun 2007 06:37 AM
Formula to count cells between dates excluding duplicates =?Utf-8?B?VmVncw==?= Microsoft Excel Misc 11 5th Jul 2006 07:11 PM
How do I use countif to count values excluding blank cells =?Utf-8?B?R2xlbmRh?= Microsoft Excel Worksheet Functions 4 30th Jan 2006 04:22 PM
How do I count number of cells with info?? =?Utf-8?B?SEpL?= Microsoft Excel Misc 3 20th Sep 2005 07:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 AM.