+ Reply to Thread
Results 1 to 6 of 6

Countif with multiple ranges

  1. #1
    Registered User
    Join Date
    08-04-2009
    Location
    South, East
    MS-Off Ver
    Excel 2007
    Posts
    27

    Countif with multiple ranges

    Countif:
    Is there a way to have a single criteria (a persons name) and multiple ranges
    example: a6:a10 c6:c10 and recieve the sum of that criteria and ranges??
    I know there is I just cant get it.

    I need to count a persons name entered in multiple ranges (cells or areas) on the same worksheet.
    I cannot make one big range because i will need to do the same for the b6:b10 but for a different "need"
    the a colum and c colum bieng "completed" the b colum bieng "not completed".

    I have tried =countif(a6:a10 + c6:c10, cell_with _persons_name) and for obvious reasons that wont work,
    Last edited by dr mint; 01-21-2010 at 12:28 AM.

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Countif with multiple ranges

    Sorry, but are you looking to sum the VALUE in the ranges that fits the criteria?
    or sum the NUMBER of ranges that fits the criteria?

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Countif with multiple ranges

    dr mint you need to respond to all your posts! before moving ON to the next!!!
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Registered User
    Join Date
    08-04-2009
    Location
    South, East
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Countif with multiple ranges

    im looking to count how many times a specific name appears in the A and C colum combined.
    I then want to count it seperatly in the b colum
    A and C are "complete" colums
    B is a "not complete"
    So Im trying to see how many times this sspecific name is placed under not complete dedicated colums

    =COUNTIF(A6:A10,N33) assume the name is entered 2 times in the range of a6:a10 ( the name bieng the displayed in n33) now I need to add that to the C6:C10 result of 3 entries for the same n33 all in one cell.
    This is a tough one for me, I really thought Id get it quick.
    let me know if you get it, I really appriciate the help

  5. #5
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Countif with multiple ranges

    Well... i suppose there's no harm in using

    =COUNTIF(A6:A10,N33) + COUNTIF(C6:C10,N33)

    not as elegant (perhaps), but it works.

  6. #6
    Registered User
    Join Date
    08-04-2009
    Location
    South, East
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Countif with multiple ranges

    It works much better than what I was doing, Thanks. I started to just one by one the cells then add em,,,,too much....

+ 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