Hello
Id like to produce a count of events that happend after a dealine given the following example table.
[TABLE="width: 384"]
[/TABLE]
[TABLE="class: grid, width: 500"]
Key
[/td]Event1
[/td]Event2
[/td]Event3
[/td]Event4
[/td]Deadline
[/td]Item1
[/td]17:00
[/td]20:10
[/td]20:30
[/td]21:00
[/td]20:00
[/td]Item2
[/td]17:10
[/td]17:30
[/td]17:40
[/td]20:10
[/td]20:00
[/td]Item3
[/td]20:00
[/td]Item4
[/td]20:00
[/td]Item5
[/td]20:00
[/td]
[/TABLE]
I'd like the following 2 lines above give the following split.
[TABLE="width: 500"]
Event1
[/td]0
[/td]Event2
[/td]1
[/td]Event3
[/td]0
[/td]Event4
[/td]1
[/td]
[/TABLE]
That is on each row I only want to count the first occurrence of Event time >= Deadline.
I have been trying to use SUMPRODUCT and managed to count each event that is >= Deadline.
I'd like to avoid duplicate error counts. If Event1 is late all subsequent events will also be late..etc
Column named Key are all unique values.
Does this seem doable to someone?
Regards,
Gaius