Data analysis help (excel)

Erik

Legend
Joined
Mar 17, 2006
Messages
2,661
Location
Enschede, Netherlands, Netherlands
WCA ID
2005AKKE01
YouTube
Visit Channel
Hey,
cause there are so many people here who know a lot about maths and computers I figured I might try to get an answer to my problem.

In excel I have a bit list of one column with values of percentages between about 0 and 3 ex:
0,52%
1,2%
2,21%
2%
etc.

Now I want to make a graph out of this that shows how often a value of lets say between 0,5 and 1 occurs. So on the x-axis there are: 0,5-1, 1-1.5, 1.5-2, 2-2.5 etc. On the y axis the number of times that a value between these regions has occured. So if there are 4 values between 0,5 and 1 I would like a bar of height 4.

How do I do this?
 
Last edited:
Or the countifs function

X column your ranges
Y the counts
Make bar graph of X Y

in my example file: =COUNTIFS(D3:D17;">=0,5";D3:D17;"<1") for the first X value

you may want to add som $ signs to the datarange for easy coping for the rest of the Y values...
you could also add two columns with your min and max value for the range and link to these fields in the formula


EDIT: stupid smilies...
And the frequency ooks like the better option.

You learn something new every day :)
 
Last edited:
Ah I found something myself now. It was mainly because of the stupid German Excel version I have to use.
At 'extras' there is an option for Analysis Functions (probably called sth else in English), among these is a histogram wizard which gives an output like:

Value..Frequency
0...........0
0,5........1
1...........3
1,5........4

With this automatic table its easy to make the required histogram, although I'm still not a big fan of the way the data is presented where 0,5 is linked to 1. It makes it unclear if the 1 is between 0-0.5 or if it belongs to the 0.5-1. category. To solve this I made another column for the naming of the x-axis, but it's not really a pretty way to solve this.

EDIT: The frequency function would probably do the same as this histogram wizard, but probably cause of the weird German version I didn't manage to use get it working. It's not needed anyway.
 
Last edited:
Off topic, but is it common in mainland Europe to write 1/2 as 0,5 (referring to the comma as opposed to the decimal point)? I know that Sweden does it, but I noticed that Erik used it too. Feel free to ignore this stupid question if you want, just a thought that came across my mind.
 
MalusDB: that's a good question. Actually I don't know which is correct anymore since I often write stuff in English, Dutch and German. I'm pretty sure that somewhere (maybe US or UK they use a . whereas in the other countries they use a ,

I would install Openoffice, but I can't install anything on this computer. Working on my laptop all the time isn't exactly favorable either :P
 
Back
Top