+ Reply to Thread
Results 1 to 4 of 4

Count the number between specific Range of numbers

  1. #1
    Registered User
    Join Date
    08-13-2009
    Location
    London,England
    MS-Off Ver
    Excel 2016
    Posts
    30

    Exclamation Count the number between specific Range of numbers

    Hi Excel experts!

    I need a formula to count the number between specific Range of numbers.
    I have attached the sample work sheet with this.Please just check that.

    I have some numbers in Column B
    2356
    2135
    500
    1890
    3750
    311

    I have to find
    (How many numbers between 1 to 500 in the above column ? Ans =2)
    (How many numbers between 501 to 1000 above ? Ans=0)
    and more ranges like that.
    Attached Files Attached Files
    Last edited by lavan_joy; 01-19-2012 at 09:53 AM. Reason: Solved

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Count the number between specific Range of numbers

    =COUNTIFS(B:B,">=1",B:B,"<=500")
    =COUNTIFS(B:B,">=501",B:B,"<=1000")
    =COUNTIFS(B:B,">=1001",B:B,"<=1500")

    or you could make it use cells:

    =COUNTIFS(B:B,">="&A1,B:B,"<="&A2)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-13-2009
    Location
    London,England
    MS-Off Ver
    Excel 2016
    Posts
    30

    Re: Count the number between specific Range of numbers

    Thanks a lot for the solution.
    Reputation added!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Count the number between specific Range of numbers

    You're welcome. Thanks for the rep.

    Regards, TMS

+ 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