Hi Friends,
I am trying to build a formula to count consecutive value in a column, But I failed to get the count.
I would like to get a value of "Yes" counting "Apple" when it comes very next or very before Orange.
[TABLE="width: 159"]
<tbody>[TR]
[TD]Details[/TD]
[TD]Required Result[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Guava[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col></colgroup>[/TABLE]
I am trying to build a formula to count consecutive value in a column, But I failed to get the count.
I would like to get a value of "Yes" counting "Apple" when it comes very next or very before Orange.
[TABLE="width: 159"]
<tbody>[TR]
[TD]Details[/TD]
[TD]Required Result[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Guava[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Grapes[/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col></colgroup>[/TABLE]
Last edited: