Angular Repeating sequence

TOKYOJ1

New Member
Joined
Aug 14, 2017
Messages
30
Hello,

I have a long repeating angle/circular sequence as example below which repeats at every 360 degrees. I wish to add 360, 720, 1080, 1440 (circles) at every turning points so I get an ascending sequence.

[TABLE="width: 293"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Original sequence[/TD]
[TD]Desired result[/TD]
[TD]Note[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]12[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]29[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]120[/TD]
[TD]120[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]240[/TD]
[TD]240[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]359[/TD]
[TD]359[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]362[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]375[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]400[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]120[/TD]
[TD]480[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]270[/TD]
[TD]630[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]325[/TD]
[TD]685[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]359[/TD]
[TD]719[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]723[/TD]
[TD]add 360[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]729[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]740[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]111[/TD]
[TD]831[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]233[/TD]
[TD]953[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]1065[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1085[/TD]
[TD]add 720[/TD]
[/TR]
</tbody>[/TABLE]

Can anyone assist in this?

Thanks in advance
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Sorry the correct sequence:

[TABLE="width: 293"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Original sequence[/TD]
[TD]Desired result[/TD]
[TD]Note[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]12[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]29[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]120[/TD]
[TD]120[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]240[/TD]
[TD]240[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]359[/TD]
[TD]359[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]362[/TD]
[TD]add 360[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]375[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]400[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]120[/TD]
[TD]480[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]270[/TD]
[TD]630[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]325[/TD]
[TD]685[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]359[/TD]
[TD]719[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]723[/TD]
[TD]add 720[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]729[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]740[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]111[/TD]
[TD]831[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]233[/TD]
[TD]953[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]1065[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1085[/TD]
[TD]add 1080[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Assuming your Original Sequence has a non-empty header with at least one letter in cell A1, try placing the following formula in cell B2 and drag-copying it down as needed:

=A2+360*(SUMPRODUCT(--($A$1:A1>$A$2:A2))-1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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