+ Reply to Thread
Results 1 to 3 of 3

Conditional Counting

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    1

    Conditional Counting

    Hi Guys,

    First time poster as I can usually find an answer but this one is driving me crazy!

    I have the following data which I need to count...

    Name Position (ref) Role Date Introduced 1st 2nd
    Candidate 1 1001 date date date
    Candidate 2 1001 date date
    Candidate 3 1002 date date date
    Candidate 4 1002 date
    Candidate 5 1003 date date
    Candidate 6 1003 date date date
    Candidate 7 1003 date
    Candidate 8 1004 date date date
    Candidate 9 1004 date date
    Candidate 10 1004 date



    I want to count the number of entries in column D ("Date Introduced") where column B ("Position Ref") equals the correct reference (e.g. 1003).
    As a seperate calculation, I'd then like to count the number of dates entered under column E ("1st") where column B ("position Ref") equals 1003.

    I tried =COUNTIF(D4:D13, B4:B13="1003") but it keeps returning the value 0

    If anyone can help I'd be eternally grateful!

    Thanks,

    Tim
    Last edited by k12kt; 04-27-2012 at 04:49 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional Counting

    Hi and wlcome to the forum.

    Pls try this.

    =SUMPRODUCT((BA:B13=1003)*(D4:D13))

    Is this what are you looking for?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Conditional Counting

    Hi,

    Try this -


    Please Login or Register  to view this content.


    Thanks,

    Bonny Tycoon


    **If I was able to help please click the small star icon at the bottom left of my post **

+ 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