Create Sequential Number Ranges from Counts in Excel
Question details
Create consecutive number ranges from a starting number and a list of counts.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains counts, and each row needs a range that begins after the preceding range.
- Observed behavior
- Each range should contain the specified number of items, with no gaps between ranges.
Place positive whole-number counts in column A beginning at A2, and leave columns B through D available for the results. Choose the starting number for the first range; this example uses 361.
Calculate Sequential Ranges with Helper Columns in Excel
Use start and end columns to calculate each range, then combine them for display.
In cell B2, enter =361. Replace 361 with your desired starting number.
In cell C2, enter =B2+A2-1. This includes the starting number in the count.
In cell B3, enter =C2+1. This makes the next range begin immediately after the previous one.
In cell D2, enter =B2&"–"&C2 to join the start and end with a dash.
Select B3 and drag its fill handle down through the count rows. Then fill the formulas in C2 and D2 down alongside the counts.

Build Sequential Number Ranges in WPS Spreadsheet
Use the same helper-column formulas in WPS Spreadsheet to turn a list of counts into consecutive ranges.
- 1. Open the worksheet: Open WPS Spreadsheet and enter positive whole-number counts in column A, beginning at A2.
- 2. Set the first range: Enter =361 in B2 and =B2+A2-1 in C2. Change 361 to your desired starting number.
- 3. Add the next start and display formula: Enter =C2+1 in B3 and =B2&"–"&C2 in D2.
- 4. Fill the formulas down: Drag the fill handle from B3 down through the count rows, then fill C2 and D2 down to display all ranges.

Frequently Asked Questions
How do I change the starting number?
Change the number in B2 from 361 to your preferred starting number. The formulas in the following rows will recalculate the ranges.
Why does the end formula subtract 1?
The starting number counts as the first item. For example, =361+6-1 gives 366, making 361–366 a range of six numbers.
What happens if a count is zero?
The end formula produces a number below the start, so it does not represent a valid range. Use positive whole-number counts in column A for this method.
Can I display the range in one cell?
Yes. Enter =B2&"–"&C2 in D2 and fill the formula down. Columns B and C still calculate the start and end values.




