Autonumber With Missing Values

jorymf8

New Member
Joined
Mar 21, 2011
Messages
7
I would like to know if there is a way to fill in missing values when using autonumber in Microsoft Excel. For example, I have a list of numbers 1,2,3 etc all the way to 500. In between there are missing values such that it goes 5,6,9,12. Is there a way for excel to recognize these missing values (7,8,10,11) and insert rows for these numbers?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Did you copy and paste the code I provided or did you try re-typing it?
If you re-typed it, check for typos (maybe try cutting and pasting the code now).

Otherwise, go into the VB Editor and "step" through the code. That is, use the F8 to cycle through your code line-by-line. Then you can see where it errors out.

By the way, do you have anything in column A at the bottom other than dates? That could be what is causing trouble.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top