Display consecutively repeated numbers in a consecutive

NiftyTrader

New Member
Joined
Jul 31, 2015
Messages
15
Is there a way I can display consecutively repeated values from a column with column A being my data and column B my formula? Thanks.


DataFormula
7
8
9
99
99
8
88
10
1010
1010

<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> <col width="65" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Yes.. use below formula in cell B2 and drag down:-

=IF(A1=A2,A2,"")

Regards,
DILIPandey
 
Upvote 0
Thanks. Is there a way I can get the repeated values that are less than and greater than the data value of the same row? I saw a formula that uses INDEX and MATCh function to display these numbers.

DataFormulaFormula 2Formula 3
7<=A2>A2
8IF(A1=A2,A2,"")
9
99
99
8
88
10
1010
1010
9
99910
889
78
68
6668
6668
768
7778
889

<tbody>
</tbody>
 
Upvote 0
Not getting .. can you post your expected output with explanation ? thanks.


Regards,
DILIPandey
 
Upvote 0
I want to make a real time support and resistance levels based off of the fluctuating data points. Repeated Value 2 should be less than or equal to the corresponding fluctuating data point. Repeated Value 1 is less than Repeated Value 2. repeated Value 3 is greater than the current fluctuating Data Point. Repeated Value 4 is greater than Repeated Value 3. I would like the formulas to draw from all prior repeated values so that I can see the levels throughout if the fluctuating points move back to prior ranges.

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
8610781017
56967
108881017
119881017
1111881017
1111881017
9109781017

<colgroup><col><col><col><col><col span="4"></colgroup><tbody>
</tbody>
 
Upvote 0
Okay... first 3 columns would be available with you and rest of the columns i.e., Repeated value 1,2,3,4 you wish to obtain using formulas .. correct ?
If that is the case, can you explain how you have calculated the values in these columns .. let say how you got 7 in first repeated column ?


Regards,
DILIPandey
 
Upvote 0
The repeated values are support and resistance levels of the fluctuating points in column A. Repeated value 2 is the first repeated value less than or equal to the fluctuation point. So that 7 is the first support level below the current fluctuating point. I wrote the data wrong. This is the right data:


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
861071017
56967
108881017
119881017
1111881017
1111881017
9109781017

<tbody>
</tbody>
 
Upvote 0
Ignore the prior cells. Sorry for the confusion. The repeated values are support and resistance levels of the fluctuating points in column A. Repeated value 2 is the first repeated value less than or equal to the fluctuation point. So that 7 is the first support level below the current fluctuating point. I wrote the data wrong above. So if the fluctuating point is 8, and there were prior repeated values (3 times consecutively) within the moving averages of 7, 10, 15 and 17. So 7 is the only support level for a current fluctuating value of 8. So 10, 15 and 17 are the resistance levels in order for the fluctuating point of 8. This should be the data you should use for the formulas for the all 4 repeated values columns. Thanks.


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
861071017
56967
10881017
11981017
1111881017
1111881017
9109781017

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,833
Messages
6,127,162
Members
449,368
Latest member
JayHo

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