+ Reply to Thread
Results 1 to 4 of 4

Dependent counting

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    UK
    Posts
    2

    Dependent counting

    Hi

    I want to be able to count the entries in a column dependent on the entry in another column.

    In my example attached column A7 counts how many times Direct UK appears. A8 counts how many times Direct HK appears.

    What I now want to do is count the number of times dates appear in column B for Direct UK to present in A10 and the number of times dates appear in column B for Direct HK to present in A11.

    The answers I am expecting back are A10 = 2 and A11 = 1

    I'm sure this is easy but its not for me.

    Thanks

    Lee
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    B8=SUMPRODUCT((B2:B6="direct UK")*(C2:C6<>""))

    Sure you can work the other one out yourself...

    HTH

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    UK
    Posts
    2
    Thanks very much!!

    Could I layer this again by making it dependent on a third column.

    e.g. New and Rebuy

    Thanks

    Lee

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    I'm thinking...
    =SUMPRODUCT((B2:B6="direct UK")*(C2:C6<>"")*(d2:d6="new"))

    Mark the thread as solved, if it is of course!

    HTH

+ 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