Comments on: excel numbering questin
http://ask.metafilter.com/262341/excel-numbering-questin/
Comments on Ask MetaFilter post excel numbering questinThu, 22 May 2014 16:30:18 -0800Thu, 22 May 2014 16:37:49 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: excel numbering questin
http://ask.metafilter.com/262341/excel-numbering-questin
In excel, I want to increase a number in sequential rows by one every three numbers. Is there a way to do this quickly, for about 5000 rows? <br /><br /> So it would look like this:<br>
<br>
1<br>
1<br>
1<br>
2<br>
2<br>
2<br>
3<br>
3<br>
3<br>
<br>
Is there a formula that would automate this?post:ask.metafilter.com,2014:site.262341Thu, 22 May 2014 16:30:18 -0800SpacemanStixexcelnumberingresolvedBy: Hatashran
http://ask.metafilter.com/262341/excel-numbering-questin#3810031
Put the following values in:<br>
<br>
1<br>
1.3333333<br>
1.6666666<br>
2<br>
2.3333333<br>
2.6666666<br>
3<br>
[...]<br>
<br>
And then format the cell to not show the decimal part.<br>
<br>
To avoid rounding errors, you might create a hidden column that goes 3,4,5,6 next to it and then set the value of the cell you want to show to be x/3.comment:ask.metafilter.com,2014:site.262341-3810031Thu, 22 May 2014 16:37:49 -0800HatashranBy: yonglin
http://ask.metafilter.com/262341/excel-numbering-questin#3810033
You can increase by 1/3 in each row and use trunc to trim the decimals!comment:ask.metafilter.com,2014:site.262341-3810033Thu, 22 May 2014 16:38:43 -0800yonglinBy: michaelh
http://ask.metafilter.com/262341/excel-numbering-questin#3810037
Make the first three cells 1 and then have each cell do the value three cells back plus one.comment:ask.metafilter.com,2014:site.262341-3810037Thu, 22 May 2014 16:41:37 -0800michaelhBy: If only I had a penguin...
http://ask.metafilter.com/262341/excel-numbering-questin#3810038
I would create one column that's a count (call it column A). Then next to it put a column that is (TRUNC(A/3)+1). Look up the TRUNC function, you might need to specify 0 decimimal places. Then cut the column and paste special as values. Once you've done that you can delete column A.comment:ask.metafilter.com,2014:site.262341-3810038Thu, 22 May 2014 16:41:59 -0800If only I had a penguin...By: ssg
http://ask.metafilter.com/262341/excel-numbering-questin#3810046
TRUNC((ROW()/3)+2/3) will do this. You will need to adjust the offset (+2/3) if you don't want to start with row 1 as 1.comment:ask.metafilter.com,2014:site.262341-3810046Thu, 22 May 2014 16:54:18 -0800ssgBy: SpacemanStix
http://ask.metafilter.com/262341/excel-numbering-questin#3810049
Awesome, those get the job done. Thanks everyone!comment:ask.metafilter.com,2014:site.262341-3810049Thu, 22 May 2014 17:02:55 -0800SpacemanStixBy: Salvor Hardin
http://ask.metafilter.com/262341/excel-numbering-questin#3810123
Here's another option.<br>
<br>
1. Type in these formulae:<br>
<br>
A1 = 1<br>
A2 = 1<br>
A3 = 1<br>
A4 = A1+1<br>
<br>
2. Click and drag cell A4 down 5000 rows.comment:ask.metafilter.com,2014:site.262341-3810123Thu, 22 May 2014 18:18:25 -0800Salvor Hardin