• This topic has 11 replies, 8 voices, and was last updated 9 years ago by Alex.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Simple Excel Help – but i am clearly being simple
  • Alex
    Full Member

    Right I’ve got a simple problem I appear to be unable to solve as I’m stupid this morning. List of numbers
    3.2
    1.4
    3.4
    2.5
    3.5

    etc.. about 100 of them between one and five.

    I want to create a really simple chart showing the number of each values within ranges so basically

    1-1.5 – 10
    1.5-2.0 – 15
    etc

    all the way to five

    I’m sure I need to create an expression using =AND to validate if a number is between the two values and then a countif if true. But I can’t get it to work. Fairly urgent, all help appreciated!

    Alex
    Full Member

    I got close with =COUNTIF(cellrange, “<1”) which works except I can’t get multiple arguments so >1 and < 1.5

    40mpg
    Full Member

    DCOUNTA

    or

    FREQUENCY

    should help

    chambord
    Free Member
    TheFlyingOx
    Full Member

    cell B1: =COUNTIF(A1:A100,”=<1.5″)
    cell B2: =(COUNTIF(A1:A100,”=<2″))-B1
    cell B3: =(COUNTIF(A1:A100,”=<2.5″))-B2
    etc…

    njee20
    Free Member

    +countifs(cellrange,”>”&1,cellrange,”<“&1.5)

    Replace 1 and 1.5 with the numbers you want for each range. Speech marks are part of the formula.

    egb81
    Free Member

    =COUNTIFS(range,”>1″,range,”<1.59″)

    I’ve tried a few variations out and it works for me.

    Killer
    Free Member

    countifs works wonders

    for more advancedm i think the FREEQUENCY function may also do the job well

    Alex
    Full Member

    That’s it. Thanks guys. Brilliant. I never knew about COUNTIFS. A virtual beer to you all 🙂

    njee20
    Free Member

    If it makes it easier you can replace the numbers in the formula with cell references, and can then just change those values accordingly.

    There’s also Sumifs, Averageifs etc, all quite useful.

    Alex
    Full Member

    Yeah did that subsequently. All good 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Simple Excel Help – but i am clearly being simple’ is closed to new replies.