Just type 1 in A1 and 2 in A2 (or any two numbers of whatever sequence you
want)..........then highlight BOTH of them and grab the little black square
in the bottom right corner of A2 and drag it down the column.........if you
want to autofill from there on, one row at a time as you use them, you will
need a macro.......
If you want the row to be numbered only when data is entered in it, do the
following:
In A1 enter a 1
In A2 enter the formula "=IF(AND(B1<>"",B@<>""),A1+1,"")
Copy this down to the end or as far as you want to go.
It checks whether the previous line as well as the current line contains
data, before it will insert a number. If true, it will increment the number
for you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.