Repeating numbers in reducing pattern

hyosunko

New Member
Joined
Aug 14, 2018
Messages
2
I am trying to generate repeating numbers in the cell by decreasing patterns

Here's the pattern: if starting number is 6

666665555444332

<tbody>
</tbody>

Thank you for help in advance.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Welcome to the MrExcel forum.

Try:

ABCDEFGHIJKLMNOP
1666665555444332

<tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
B1=IFERROR(IF(COUNTIF($A1:A1,A1)< A1-1,A1,IF(A1=2,"",A1-1)),"")

<tbody>
</tbody>

<tbody>
</tbody>

Put the number you want in A1, put the formula in B1 and drag it right as needed.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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