dannywhite82
New Member
- Joined
- Sep 24, 2014
- Messages
- 1
Hi all,
I'm making a spreadsheet that monitors student attendance, and I want it to flag up when a student has missed 2 (and 3) consecutive classes.
e.g.
Student Name 1 1 0 0 1
(1 = attended, 0 = absent, each column represents a class)
I have tried highlighting consecutive duplicate cells as a new rule in 'conditional formatting' e.g. '=OR(B1=A1, B1=C1)' for the selected range, and this highlights 2 consecutive "0"s as I wish, BUT it also highlights 2 consecutive "1"s (which I don't want).
Does anyone have any idea how to highlight 2 consecutive 0s, discounting 1s (or other values) that are consecutive? I'm sure it must be simple but I'm a beginner at this!
I also want to highlight 3 consecutive 0s with a different colour.
Thanks,
Danny
I'm making a spreadsheet that monitors student attendance, and I want it to flag up when a student has missed 2 (and 3) consecutive classes.
e.g.
Student Name 1 1 0 0 1
(1 = attended, 0 = absent, each column represents a class)
I have tried highlighting consecutive duplicate cells as a new rule in 'conditional formatting' e.g. '=OR(B1=A1, B1=C1)' for the selected range, and this highlights 2 consecutive "0"s as I wish, BUT it also highlights 2 consecutive "1"s (which I don't want).
Does anyone have any idea how to highlight 2 consecutive 0s, discounting 1s (or other values) that are consecutive? I'm sure it must be simple but I'm a beginner at this!
I also want to highlight 3 consecutive 0s with a different colour.
Thanks,
Danny
Last edited: