+ Reply to Thread
Results 1 to 5 of 5

COUNTIF with mutiple ranges and multiple criteria

  1. #1
    Registered User
    Join Date
    06-18-2015
    Location
    USA
    MS-Off Ver
    2014
    Posts
    2

    COUNTIF with mutiple ranges and multiple criteria

    Hi, have a data set that lists people, their age and their assets (each person has somewhere from 100k to 5m). I am trying to classify them in a table based on their age and their assets within a range.

    I have a series of rows with asset ranges and a series of columns with age ranges.

    So the first cell should show me the number of people that have assets withing the range of 100k-250k and are ages 40 to 49.

    I think I can use the COUNTIFS function but keep getting an error. Here is another way to explain what I need:

    =COUNTIFS(C2:C556,">100000",C2:C556,"<250000") --> This will give me the number of people with 100k-250k in assets.

    =COUNTIFS(B2:B556,">40",B2:B556,"<49") --> this will give me the number of people age 40-49.

    How do I join the two together so that I only get the number of people with assets between 100-250k aged 40 to 49?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: COUNTIF with mutiple ranges and multiple criteria

    It all depends how your data is set up. Could you please post a small sample sheet ( stripped of any confidential info)?

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: COUNTIF with mutiple ranges and multiple criteria

    this seems to work...like Pepe said it assumes a few things....also, you might >= and <= depending on what you are looking for....

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  4. #4
    Registered User
    Join Date
    06-18-2015
    Location
    USA
    MS-Off Ver
    2014
    Posts
    2

    Re: COUNTIF with mutiple ranges and multiple criteria

    This did the trick! Thanks!

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: COUNTIF with mutiple ranges and multiple criteria

    glad I could help and thanks for the rep points.


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    have a great day

+ 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. COUNTIF multiple criteria and ranges
    By larbac in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-14-2013, 07:34 AM
  2. [SOLVED] Countif multiple ranges, same criteria
    By ebaldwin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2012, 10:18 AM
  3. Countif accross Multiple Ranges & 1 Criteria
    By rvc81 in forum Excel General
    Replies: 10
    Last Post: 03-18-2012, 10:48 AM
  4. Formula COUNTIF Multiple Ranges with One Criteria
    By katcollins in forum Excel General
    Replies: 27
    Last Post: 01-11-2012, 04:21 PM
  5. COUNTIF with multiple disjoint ranges, same criteria
    By Kurt Swanson in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 03-04-2006, 04:15 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