xeven_
Active Member
- Joined
- Jan 20, 2012
- Messages
- 302
I have % data in column F. I want to calculate only the consecutive positive or negative days adjacently in column G as shown in the illustration, Is there a formula I can enter as I have to go back quite a number of years/days and this is very time consuming doing it manually.
Thanks in advance.
[TABLE="width: 201"]
<colgroup><col width="67" style="width:51pt"> <col width="67" style="width:51pt"> <col width="67" style="width:51pt"> </colgroup><tbody>[TR]
[TD="class: xl84, width: 67"]45[/TD]
[TD="class: xl83, width: 67"]1.00%[/TD]
[TD="class: xl83, width: 67"]1.02%[/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.46%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]0.38%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.02%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]0.02%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]0.99%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]1.16%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]0.09%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.47%[/TD]
[TD="class: xl83"]2.73%[/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]-0.04%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.94%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.13%[/TD]
[TD="class: xl83"]1.07%[/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-4.39%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.31%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.69%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]-0.90%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]-0.48%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]0.05%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]0.50%[/TD]
[TD="class: xl83"]0.55%[/TD]
[/TR]
[TR]
[TD="class: xl84"] [/TD]
[TD="class: xl82"] [/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"] [/TD]
[TD="class: xl82"] [/TD]
[TD="class: xl83"] [/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.
[TABLE="width: 201"]
<colgroup><col width="67" style="width:51pt"> <col width="67" style="width:51pt"> <col width="67" style="width:51pt"> </colgroup><tbody>[TR]
[TD="class: xl84, width: 67"]45[/TD]
[TD="class: xl83, width: 67"]1.00%[/TD]
[TD="class: xl83, width: 67"]1.02%[/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.46%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]0.38%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.02%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]0.02%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]0.99%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]1.16%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]46[/TD]
[TD="class: xl83"]0.09%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.47%[/TD]
[TD="class: xl83"]2.73%[/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]-0.04%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.94%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]47[/TD]
[TD="class: xl83"]0.13%[/TD]
[TD="class: xl83"]1.07%[/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-4.39%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.31%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]45[/TD]
[TD="class: xl83"]-0.69%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]-0.90%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]-0.48%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]0.05%[/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"]44[/TD]
[TD="class: xl83"]0.50%[/TD]
[TD="class: xl83"]0.55%[/TD]
[/TR]
[TR]
[TD="class: xl84"] [/TD]
[TD="class: xl82"] [/TD]
[TD="class: xl83"] [/TD]
[/TR]
[TR]
[TD="class: xl84"] [/TD]
[TD="class: xl82"] [/TD]
[TD="class: xl83"] [/TD]
[/TR]
</tbody>[/TABLE]