+ Reply to Thread
Results 1 to 2 of 2

Complex Count Function

  1. #1
    Registered User
    Join Date
    02-01-2014
    Location
    Boston, Massachusetts
    MS-Off Ver
    Excel 2010
    Posts
    61

    Complex Count Function

    The example below should assist in what I am trying to do.

    Col. A Col. B

    XXX-01 8:00
    XXX-01
    XXX-01 9:00
    XXX-02 8:00
    XXX-02 9:00
    XXX-02 10:00

    I want to do a count where Column B has a time and Column A equals "XXX-01". The answer above should be 2. Or if I was trying to find "XXX-02" it would be 3.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Complex Count Function

    Maybe something like this

    in C1 and copy down

    =IF(A2=A1,"",COUNTIFS($A$1:$A$6,A1,$B$1:$B$6,"<>"))

    Row\Col
    A
    B
    C
    1
    XXX-01
    8:00
    2
    XXX-01
    3
    XXX-01
    9:00
    2
    4
    XXX-02
    8:00
    5
    XXX-02
    9:00
    6
    XXX-02
    10:00
    3
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Complex count if ?!
    By _Lewis in forum Excel General
    Replies: 4
    Last Post: 06-14-2011, 08:17 AM
  2. Complex Count Function
    By bigbavarian in forum Excel General
    Replies: 2
    Last Post: 08-22-2008, 02:21 PM
  3. Function for complex count
    By reloader in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-20-2008, 06:13 AM
  4. [SOLVED] complex count
    By FSmitty in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2006, 06:25 PM
  5. [SOLVED] complex count question
    By JBoulton in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-29-2005, 02:06 AM

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