+ Reply to Thread
Results 1 to 3 of 3

Counta within a range of numbers

  1. #1
    Registered User
    Join Date
    05-13-2009
    Location
    Rogue River Oregon
    MS-Off Ver
    Microsoft 365
    Posts
    55

    Counta within a range of numbers

    Can you work out a formula for the following scenario?

    A cell that will count an entry in another cell, within a range of numbers.

    EX:

    cell g1 will count the entries that range from 1000 to 1999 and 5000 to 5999 and 7000 to 7999.

    cell h1 will count the entries that range from 2000 to 2999 and 6000 to 6999 and 8000 to 8999.

    So if i had 6 cells with the following entries:

    cell a1 - 1010
    cell b1 - 2230
    cell c1 - 5699
    cell d1 - 6521
    cell e1 - 7001
    cell f1 - 8035


    cell g1 would show 3
    cell h1 would show 3
    Last edited by Boharris; 09-16-2009 at 03:35 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,736

    Re: Counta within a range of numbers

    If you always want to count within whole thousands you could use a formula like this to count 1000s, 5000s and 7000s

    =SUMPRODUCT(--(INT(A1:F1/1000)={1;5;7}))

  3. #3
    Registered User
    Join Date
    05-13-2009
    Location
    Rogue River Oregon
    MS-Off Ver
    Microsoft 365
    Posts
    55

    Re: Counta within a range of numbers

    NICE. Thanks

+ 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