Count up a value and then reset

MANICX100

New Member
Joined
May 20, 2022
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I am banging my head against a wall trying to have a formula that would instantly count from 1 to 100 and then reset infinitely.

I assumed I could do 1 to 100 twice and then use the fill handle but that causes excel to assume I want 1-100, 1-100, 200-300, 1-100 etc

Now =SEQUENCE(1,100) isn't helpful as that is an array in a single cell

any ideas?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi & welcome to MrExcel.
It is not very clear to me as to what you are trying to do. Can you please re-explain, especially this part "instantly count from 1 to 100 and then reset infinitely"
 
Upvote 0
Sorry the instantly part was confusing.
Essentially can I have a formula which when I use the fill handle will evaluate to
1
2
3
4
etc
up to 100
then reset

so
1
2
3
4
etc
up to 100

ad infinitum
 
Upvote 0
You could use something like this. (I've re-set at 10 to limit the data)
++Fluff.xlsm
J
1
21
32
43
54
65
76
87
98
109
1110
121
132
143
154
165
176
187
198
209
2110
221
232
243
254
265
276
287
298
309
3110
Data
Cell Formulas
RangeFormula
J2:J31J2=MOD(SEQUENCE(30,,0),10)+1
Dynamic array formulas.
 
Upvote 0
Solution
Perfect so in my case the formula that is working is

Excel Formula:
=MOD(SEQUENCE( {how many cells to autopopulate} ,,0),100)+1

Thank you so much
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,117
Members
453,021
Latest member
Justyna P

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