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 blog posts
- Create unique distinct year and months from a long date listing in excel
- Excel: How to automatically summarize preceding month and year
- Create a list of dates with blanks between quarters in excel
- List all the unique events for a month in excel (array formula)
- Count matching cells in date range in excel

















Leave a Reply