Create number sequences in excel 2007
Create number sequences (Autofill)
Example 1
- Type "1" in cell B3 + Enter
- Right click on black dot and drag down as far as needed. (See arrow)
- Click "Fill series"
Example 2
- Type "1" in cell A3 and "2" in cell A4
- Select A3 and A4
- Left click on black dot and drag down as far as needed. (See arrow)
Create a repeating number sequence
In this example I am going to create a repeating number sequence 1, 2, 3, 4.
Formula in A9:
copied down as far as needed.
Create a number sequence and restart when a cell value equals a criterion
In this example the number sequence restarts every time the adjacent cell value equals "D".
Formula in B17:
copied down as far as needed.
Create a number sequence to count records by year and month (sorted list)
Formula in B27:
copied down as far as needed.
Alternative formula:
copied down as far as needed.
Create a number sequence to count records by year and month (unsorted list)
Array formula in B32:
copied down as far as needed.
Alternative formula in C32:
copied down as far as needed.
Create a number sequence to count records by year (sorted list)
Formula in B39:
copied down as far as needed.
Create a number sequence to count records by year (unsorted list)
Formula in B46:
copied down as far as needed.
Create a number sequence to count individual products
Formula in B52:
copied down as far as needed.
Create a number sequence to count records within specific price ranges
Price ranges (0-500, 501-1000, 1001-1500)
Formula in B58:
+ Ctrl + Shift + Enter copied down as far as needed.
Create a number sequence to count records by individual products and years
Formula in C64:
copied down as far as needed.
Related posts:
Create unique distinct year and months from a long date listing in excel
Create a list of dates with blanks between quarters in excel
Create a monthly date range in excel




























I have tried using the "Create a number sequence to count individual products" formula but when I copy it down it moves the second $ to before the first number. I would like to know if there is anyway of stopping this from happening
Paul,
I don´t think I understand:
when I copy it down it moves the second $ to before the first number
=SUMPRODUCT(--(A52:$A$52=A52))
May be you want something like this
=COUNTIF($A$52:A52,A52)
Does (=SUMPRODUCT(--(TEXT($A$64:A64, "yyyy")&(B64:$B$64)=YEAR(A64)&B64)) + Enter) work for months
Erik Reppert,
What are you trying to calculate? Can you provide some example data?