xenolith01
New Member
- Joined
- Aug 25, 2011
- Messages
- 16
Hi, I need to analyse some data after recent A'Level and GCSE results day.
The formula I need to create has the following data:
10 Columns - A to J
Multiple Rows relating to each pupil. Pupil name in column A.
Columns B to J contain a mixture of the following grades:
A*, A, B, C, D, E, F ,G, U
A* means A star and therefore needs a tilde to escape the asterix - A~*
I need to calculate if each pupil (i.e each row) has achieved 5 x A*to C grades but only if column C and H have an A* to C grade. The result could simply be a 1 or 0 in another column e.g. column K.
Basically:
If cell C1&H1 contain A* to C grades and 3 other A* to C grades in any of the other cells then column K = 1 else 0.
I have only used 10 columns for this example but in reality there could be several more, therefore the formula needs to be as condensed as possible.
I've tried working along the lines of =IF(AND(COUNTIF(C1,{"A~*","A","B","C"}),COUNTIF(H1,{"A~*","A","B","C"})...........But getting lost
Hard to explain but hopefully someone gets it!!
Thanks
The formula I need to create has the following data:
10 Columns - A to J
Multiple Rows relating to each pupil. Pupil name in column A.
Columns B to J contain a mixture of the following grades:
A*, A, B, C, D, E, F ,G, U
A* means A star and therefore needs a tilde to escape the asterix - A~*
I need to calculate if each pupil (i.e each row) has achieved 5 x A*to C grades but only if column C and H have an A* to C grade. The result could simply be a 1 or 0 in another column e.g. column K.
Basically:
If cell C1&H1 contain A* to C grades and 3 other A* to C grades in any of the other cells then column K = 1 else 0.
I have only used 10 columns for this example but in reality there could be several more, therefore the formula needs to be as condensed as possible.
I've tried working along the lines of =IF(AND(COUNTIF(C1,{"A~*","A","B","C"}),COUNTIF(H1,{"A~*","A","B","C"})...........But getting lost
Hard to explain but hopefully someone gets it!!
Thanks