Return prior values that repeat at least 3 times consecutively.

NiftyTrader

New Member
Joined
Jul 31, 2015
Messages
15
I have a fluctuating data in column A:A, a Fast MA in column B:B, Slow MA in C:C.



I'm going to start with the first formula to compute in Column E:E, which
1. needs to display a prior value repeated at least 3 times consecutively (not in order of occurrence just needs to be in the formula like $B$3:C100 that meets additional criteria)
2. value in both columns that must be less than or equal to the current fluctuating value in A:A, starting with 5.

Column D:D formula should be the next >=3x consecutively repeated number less than the value of E:E equation of the same same.

Column F:F formula should be the >=3x consecutively repeated number that is greater than (not equal to) the current fluctuating number in column A:A of the same row.

Column G:G formula should be the next >=3x consecutively repeated number greater than the value in column F:F of the same row.


I put the results of the values for each Repeated Values that I want for each formula to equate



Fluctuating PointsFast Moving Avg.Slow Moving Avg.Repeated Value 1Repeated Value 2Repeated Value 3Repeated Value 3
5
6
76
77
77
87
98
1198
10108
10109
11109
101010
171311
161412
181713
181714
161715
111515
101215
7914
571367
6611678
8610781015
56967
10888101517
11988101517
111188101517
111188101517
9109781517

<tbody>
</tbody>
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top