Below is a sample spreadsheet. My data is in column A (below is only a sample...there may be 100 items in the first grouping followed by 2 blanks, and then 50 items in the next grouping)...In column B, I need to sequentially number each grouping of items starting with a new 1000 number.

Desired output:

```
A B
Apples 1000
Bananas 1001
Peaches 1002
Blank row
Blank row
Grapes 2000
Pears 2001
Blank row
Blank row
Kiwi 3000
Avocado 3001
Pineapple 3002
```