+ Reply to Thread
Results 1 to 2 of 2

Counting Data in a 2-column Array (with Duplicates)

  1. #1
    Registered User
    Join Date
    08-23-2008
    Location
    USA
    Posts
    1

    Counting Data in a 2-column Array (with Duplicates)

    Hi,

    http://i33.tinypic.com/2zyadn8.jpg

    I'm trying to write a formula that counts the number of Dates on which Interviews took place.

    Dates are listed in C2:C9. Comm Types are listed in A2:A9, "Interview" is one possible Comm Type.

    I want the formula to sort through the Comm Types in A2:A9, accept entries that are "Interview", then count the corresponding number of Dates on which these Interviews occurred AND only count Duplicates once.

    So the formula should think like this:

    ------ A -------- C ----
    5 - Interview - 8/14/08
    6 - Interview - 8/14/08
    8 - Interview - 8/16/08

    And return the answer for "Number of Interview Days" = 2

    8/14/06 and 8/16/08


    Any ideas? I'm still a beginner but I think this some kind of Array Formula with one of the COUNT functions might work, but I haven't got it yet.
    Attached Images Attached Images

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    for your range try
    Please Login or Register  to view this content.
    its an array ,confirm with ctrl +shift+enter
    it should then be surrounded by {}

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro for coding an action based on 3 columns of information
    By chozen86 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2008, 10:44 PM
  2. How can I speed up this slow macro?
    By rs2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2008, 08:34 PM
  3. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  4. Copying data into another column but without blanks
    By sandydude4u in forum Excel General
    Replies: 2
    Last Post: 05-31-2007, 04:12 AM
  5. Storing Column Data in an Array
    By Dohko in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2007, 02:03 PM

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