+ Reply to Thread
Results 1 to 5 of 5

Count If

  1. #1
    Registered User
    Join Date
    01-24-2012
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Count If

    Hi

    Please see the attached spreadsheet.

    Without using a pivot table, i want to be able to perform a count function where it counts all the people referred in January, February etc from each of the areas, Sheffield, Barnsley etc..

    Is this possible?

    Thanks

    Paul
    Attached Files Attached Files
    Last edited by Lazor78; 04-26-2012 at 11:05 AM. Reason: SOLVED

  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: Count If

    Hi Paul

    My idea, using a helper(and hidden column B)is this.

    In B2 and copy down, use this.
    Please Login or Register  to view this content.
    In Column H(starting in H2) copy the locations names.

    In I2, use this.

    Please Login or Register  to view this content.
    This is for January. Same for the other months.


    Is this what are you looking for?
    Attached Files Attached Files
    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 Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Count If

    Did you want Jan 2011 grouped with Jan 2012?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Count If

    Assuming "Yes", With Location in H3 going down and Month values (1-12) in I2:T2

    In I3 dragged across and down

    =SUMPRODUCT(--($E$2:$E$11=$H3),--(MONTH($F$2:$F$11)=I$2))
    Does that work for you?

  5. #5
    Registered User
    Join Date
    01-24-2012
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Count If

    Thanks thats sorted it!

+ 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