Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2013, 08:28 AM
Stormy4757 Stormy4757 is offline Need forumul for counting lines of servers but not duplicates Windows 7 64bit Need forumul for counting lines of servers but not duplicates Office 2010 64bit
Novice
Need forumul for counting lines of servers but not duplicates
 
Join Date: Nov 2013
Posts: 2
Stormy4757 is on a distinguished road
Exclamation Need forumul for counting lines of servers but not duplicates

Hi all,


I have a tight deadline and was wondering if anyone knows how to write a forumula for me.
I have a spreadsheet containing 62,293 lines of data. In column A I have the names of servers. I need a count of these servers, but some are duplicates. Obviously I don't want to count those. I tried the “Remove Duplicates” under the Data Tab but it is greyed out. Why? Is there a simple way to do this?
Reply With Quote
  #2  
Old 11-01-2013, 09:33 AM
BobBridges's Avatar
BobBridges BobBridges is offline Need forumul for counting lines of servers but not duplicates Windows 7 64bit Need forumul for counting lines of servers but not duplicates Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

I've only recently graduated from Excel 2003 to 2010, so I haven't yet tried the "remove duplicates" feature. But the way I'd get a count is this:

1) Sort on the server name.

2) In a column somewhere to the right—say X—make a simple formula: "A2=A1".

That's assuming the server name is in column A; use whichever column is appropriate. It's also assuming that there's one header row at the top, that the server names start in row 2. Now column X has a series of True and False values; it's False wherever the server name is not identical to the one above it (in other words this is a new server), and True if it's the same. All the Trues are duplicate, you see. So:

3) At the bottom of column X, use a COUNTIF function to count the False values, something like "=COUNTIF(X2:X62294,FALSE)".

How's that?
Reply With Quote
  #3  
Old 11-01-2013, 09:59 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Need forumul for counting lines of servers but not duplicates Windows 7 64bit Need forumul for counting lines of servers but not duplicates Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please do not cross post without links. You have the same topic at Excelforum. Please read this message to cross-posters
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 11-04-2013, 10:54 AM
Stormy4757 Stormy4757 is offline Need forumul for counting lines of servers but not duplicates Windows 7 64bit Need forumul for counting lines of servers but not duplicates Office 2010 64bit
Novice
Need forumul for counting lines of servers but not duplicates
 
Join Date: Nov 2013
Posts: 2
Stormy4757 is on a distinguished road
Default My apologies

Pecoflyer:
I went and read the post and was not aware of this. I apologize. I was in a hurry to get an answer, as a lot of us are, and wasn't aware of the etiquette. I will keep this in mind going forward.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting grid lines but keeping the axis lines CoffeeNut Excel 0 04-01-2013 01:50 PM
Need forumul for counting lines of servers but not duplicates Counting Formula Karen615 Excel 6 06-20-2011 07:19 PM
Need forumul for counting lines of servers but not duplicates Counting Colors g48dd Excel 2 03-13-2011 09:28 PM
Need forumul for counting lines of servers but not duplicates Counting Weeks leroytrolley Excel 1 08-18-2008 11:12 AM
Need forumul for counting lines of servers but not duplicates sum of duplicates zxmax Excel 1 09-29-2006 08:29 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft