Problem with autofill series in Excel

Idefix

New Member
Joined
Jan 4, 2014
Messages
5
Hi,

I am trying to make one column(A1). Row 1 to 15 should contain ones, row 16 to 30 two's etc..

Below the examples of my errors (I tried with three numbers but I actually need 15). When I first drag the bottom right corner I get 2,4 instead of 3. When I change the properties of the cells to numbers it looks good, but when you look closely you see that Excel first adds a 2 so instead of 3 two's it becomes four. Hopefully its more clear now what I want to achieve.

First column contains my first attempt and with the second one I changed the cell properties!

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2,4[/TD]
[/TR]
[TR]
[TD="align: right"]2,657143[/TD]
[/TR]
[TR]
[TD="align: right"]2,914286[/TD]
[/TR]
[TR]
[TD="align: right"]3,171429[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl65, align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Thanks in advance!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Welcome to the forum;

Try this putting formula in cell A1 and dragging down:

=ROUNDUP(ROWS($A$1:A1)/15,0)
 
Upvote 0
Welcome to the forum;

Try this putting formula in cell A1 and dragging down:

=ROUNDUP(ROWS($A$1:A1)/15,0)

Thank you for your help! Unfortunatelly did not work! I did have a closer look and saw that the properties have no influence, it did look that way because it was rounding. When you drag 1,2,3 down you get 4,5,6. I'm looking for the same thing only with multiple ones en two's etc! Not that Excel automatically makes it 2,4 and I round it afterwards to 3. Should be possible but I don't know how :S
 
Upvote 0
Works for me? You need to copy the formula to cell A1 and then copy it doen as far as is needed.

Excel Workbook
A
11
21
31
41
51
61
71
81
91
101
111
121
131
141
151
162
172
182
192
202
212
222
232
242
252
262
272
282
292
302
313
Sheet1
 
Upvote 0
Works for me? You need to copy the formula to cell A1 and then copy it doen as far as is needed.


Spreadsheet Formulas
CellFormula
A1=ROUNDUP(ROWS($A$1:A1)/15,0)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Thanks for checking again! The formula didn't work (and gave an error) because the formula is not universal (got another language). Changed it to the right language and boom it was working! Thanks a lot! This saves me a lot of time! Have a great weekend!
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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