+ Reply to Thread
Results 1 to 3 of 3

count numbers in specific range

  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    96

    count numbers in specific range

    hi, i need coding in command button click event ... that .. to count how many numbers are present between 150 to 200 in column M .

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: count numbers in specific range

    Hi, mubashar,

    maybe like this avoiding a loop:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: count numbers in specific range

    Did you try the Count function?
    By "count how many numbers", you mean how many cells containing numbers? or if a cell contains "4235" it is considered 4 numbers?

    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  4. #4
    Registered User
    Join Date
    04-11-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    96

    Re: count numbers in specific range

    in column M it contains random numbers , i need how many cells in column M have values in between 150 to 200, and how many cells have value inbetween 200 to 250 and so on

+ 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. Count specific phrase (letters and numbers) in continuous range
    By macneill5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2012, 04:56 AM
  2. Count the number between specific Range of numbers
    By lavan_joy in forum Excel General
    Replies: 3
    Last Post: 01-19-2012, 11:00 AM
  3. Replies: 15
    Last Post: 10-11-2009, 11:46 AM
  4. Count Specific word in specific range
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2006, 05:35 AM
  5. Replies: 2
    Last Post: 05-16-2006, 05:20 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