+ Reply to Thread
Results 1 to 5 of 5

Count multiple values in cell with range criteria

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    honolulu
    MS-Off Ver
    Excel 2003
    Posts
    3

    Count multiple values in cell with range criteria

    Hello,

    I'm trying to figure out how to count by two criteria, only one of the criteria has a value among multiple values in a cell and the other is a range. I tried to use sum but it doesn't count the value and count doesn't recognize the range. I attached the file so you can see what we're trying to do. Please help!!

    Leanne
    Attached Files Attached Files
    Last edited by leanne13; 05-06-2009 at 02:30 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    re: Count multiple values in cell with range criteria

    you have a few issues, dates in some cells arent real dates but text thats why there's #value! in them
    once thats fixed you can use sumif with wild card for total
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-30-2009
    Location
    honolulu
    MS-Off Ver
    Excel 2003
    Posts
    3

    re: Count multiple values in cell with range criteria

    Thank you so much for your response...Only thing we don't need the sum of the days rather we need a count of the number of cases over 60 days from child's placement with what documents are pending.

    So in the spreadsheet, there are 4 cases over 60 days that have PRIDE pending. We have multiple spreadsheets (around 20 of them) so it would be nice to have a formula so we don't have to handcount every time.

    I tried some other formulas out...still doesn't work.
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Count multiple values in cell with range criteria

    =sumproduct(--($d$8:$d$300>60),--isnumber(search("pride",e8:e300)))

  5. #5
    Registered User
    Join Date
    04-30-2009
    Location
    honolulu
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Count multiple values in cell with range criteria

    THANK YOU! THANK YOU THANK YOU! Solved. At least now I know I was sort of on the right track...

+ 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