slim6y
Almost Legendary
Hi there...
I've got a sheet to count how many passes students have in certain subjects. Unfortunately we don't work on an A, B, C system, we work on N, A, M or E...
E is excellence in this case....
Ok... So I have a spreadsheet with all my grades (N, A, M or E) and I want to COUNT how many Ns, As, Ms and Es I have.
So in one class of 22 students I have a varied amounts of these - so I used the COUNTIF function.
Here is the direct copy and paste of that function:
=COUNTIF(B2:B23,"A")
That counts 6 As - perfect! It worked.
But then I went to the next cell below and typed:
=COUNTIF(B2:B23,"M")
(I actually copied and pasted the one above and changed B3 to B2 because I moved down one cell and then B24 to B23 for the same reason and I replaced the A with an M).
Unfortunately this came up with 1 as the answer - which isn't correct...
Why isn't it counting them correctly???
The cell definitely says M and it doesn't count them!
I tried all along that row and it doesn't work... Why???
Is there something wrong with me? Is there something wrong with the worksheet?
Well, let me know if you know of any reason why it won't work.
Cheers
I've got a sheet to count how many passes students have in certain subjects. Unfortunately we don't work on an A, B, C system, we work on N, A, M or E...
E is excellence in this case....
Ok... So I have a spreadsheet with all my grades (N, A, M or E) and I want to COUNT how many Ns, As, Ms and Es I have.
So in one class of 22 students I have a varied amounts of these - so I used the COUNTIF function.
Here is the direct copy and paste of that function:
=COUNTIF(B2:B23,"A")
That counts 6 As - perfect! It worked.
But then I went to the next cell below and typed:
=COUNTIF(B2:B23,"M")
(I actually copied and pasted the one above and changed B3 to B2 because I moved down one cell and then B24 to B23 for the same reason and I replaced the A with an M).
Unfortunately this came up with 1 as the answer - which isn't correct...
Why isn't it counting them correctly???
The cell definitely says M and it doesn't count them!
I tried all along that row and it doesn't work... Why???
Is there something wrong with me? Is there something wrong with the worksheet?
Well, let me know if you know of any reason why it won't work.
Cheers