+ Reply to Thread
Results 1 to 4 of 4

How: Countif greater than 1000 and less than 1500

  1. #1
    Registered User
    Join Date
    08-10-2006
    Posts
    5

    How: Countif greater than 1000 and less than 1500

    I need to count the number of occurances between 2 values.
    Eg.
    How many cells' values are greater than 1000 but less than 1500
    How many cells' values are greater than 950 but less than 1000

    I can use =COUNTIF(T2:T90,">1000") but how to then say and less than 1500.

    I know it's probably very simple, but I can't find a list of criteria examples.

    Thanks.

    Nicci

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Couple of ways to do this

    =COUNTIF(T2:T190,">1000")-COUNTIF(T2:T190,">1500")

    or

    =SUMPRODUCT((T2:T90>=1001)*(T2:T90<=1499))

    VBA Noob

  3. #3
    Registered User
    Join Date
    08-10-2006
    Posts
    5
    Thank you. This is exactly what I wanted. Now I can meet my deadline.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad I could help

    VBA Noob

+ 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