+ Reply to Thread
Results 1 to 3 of 3

Count unique data entires

  1. #1
    Registered User
    Join Date
    03-10-2008
    Posts
    12

    Count unique data entires

    I have an excel spreadsheet which contains an enormous amount of data( I mean truly enormous, its actually 40 files). One of the columns is ip addressees, each row is a unique event, but many of the ip addressees are the same. I want to be able to count the number of unique ip address. Any suggestions?

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565
    sgoldbe2,

    The following array formula will work but based on the large dataset you allude to, it will slow things down. For illustration purposes I've assumed that data goes down to row 1,000 - change this as required. To create the formula, follow these three steps

    1. Enter (or copy and paste) the following formula in your destination cell:
    =SUM(IF(LEN(P1:P1000),1/COUNTIF(P1:P1000,P1:P1000)))

    2. From the keyboard, press F2 and then Ctrl+Shift+Enter together

    3. You should now notice that the formula from Step 1 now has {} brackets around it, indicating that's an array formula. Note you must do step two whenever you change the formula.

    HTH

    Robert

  3. #3
    Registered User
    Join Date
    03-10-2008
    Posts
    12

    thanks

    thanks that worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1