Results 1 to 4 of 4

Using COUNTIF function to count cells between values

This is a discussion on Using COUNTIF function to count cells between values within the Excel Questions forums, part of the Question Forums category; Hi, I'm having a mental block that I'm hoping that someone can help with... I have a column containing number ...

  1. #1
    New Member
    Join Date
    Aug 2010
    Posts
    1

    Default Using COUNTIF function to count cells between values

    Hi,

    I'm having a mental block that I'm hoping that someone can help with...

    I have a column containing number of days to resolve a certain issue. What I'm looking to do is produce a summary tab to show the number within certain ranges (i.e. how many took between 1-10 days, 11-20 days, 21-30 days, etc).

    How can I do this without the use of a Pivot Table? I'd imagine I'd need to get the countif function to look at multiple calculations, but just cant work out how to do it!

    Any help would be very much appreciated.

    Thanks,

    A

  2. #2
    MrExcel MVP AlphaFrog's Avatar
    Join Date
    Sep 2009
    Posts
    10,944

    Default Re: Using COUNTIF function to count cells between values

    If the number of days are in column B, this will count the number of entries in column B that are from 11 to 20

    =COUNTIF(B:B, ">=11")-COUNTIF(B:B,">20")

    If you have Excel 2007 or later, you could use the COUNTIFS function instead

    =COUNTIFS(B:B, ">=11", B:B,"<=20")

  3. #3
    New Member
    Join Date
    May 2009
    Location
    Canton, OH
    Posts
    31

    Default Re: Using COUNTIF function to count cells between values

    Sorry to piggy back, but I also have a COUNTIF? Can you create a formula using COUNTIF that will exclude the weekends when trying to count data. I'm looking to count everyting with a date 8/5 and prior, but I don't want to include the weekends.

  4. #4
    MrExcel MVP AlphaFrog's Avatar
    Join Date
    Sep 2009
    Posts
    10,944

    Default Re: Using COUNTIF function to count cells between values

    To nerojr:

    You should really start a new thread. The answer to your question is quite different. Take a look at the NETWORKDAYS function

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DMCA.com