I have a simple Excel attendance register. Each person has a worksheet within a workbook. Each worksheet shows 1 week per row with Sunday - Saturday in columns B-H.
If someone is Present the cell entry is 'P'
If someone is Absent the cell entry is 'A'
If someone is Sick the cell entry is 'S'
I can do the COUNTIF functions etc. but, the problem I have comes where there is more than one 'A' in any one week. If a person is absent on the Monday it counts as one period of absence, if they are absent on the Tuesday also it still only counts as one period of absence. If they were absent on the Monday, came into work on the Tuesday and were absent again on the Wednesday that would count as two periods of absence. It's a sort of 'Bradford Factor' thing I think.
A normal week's record should look like -PPPPP-, the example above would look like -APAPP-.
How do I get Excel to recognise consecutive cell inputs of A as one period of absence (-AAAPP-) but single instances (-APAPA-) as three?
thanks
Jonsi
If someone is Present the cell entry is 'P'
If someone is Absent the cell entry is 'A'
If someone is Sick the cell entry is 'S'
I can do the COUNTIF functions etc. but, the problem I have comes where there is more than one 'A' in any one week. If a person is absent on the Monday it counts as one period of absence, if they are absent on the Tuesday also it still only counts as one period of absence. If they were absent on the Monday, came into work on the Tuesday and were absent again on the Wednesday that would count as two periods of absence. It's a sort of 'Bradford Factor' thing I think.
A normal week's record should look like -PPPPP-, the example above would look like -APAPP-.
How do I get Excel to recognise consecutive cell inputs of A as one period of absence (-AAAPP-) but single instances (-APAPA-) as three?
thanks
Jonsi