Autofill numbers in columns that contain empty cells

MARIA.2NY

New Member
Joined
Jan 29, 2009
Messages
10
Hello,

I have data in column A, C, E, G, and in lines 1-20, 25-36, 38-52.
How can I insert consecutive numbers on the left side of each cell containing data, since I can not use autofill as I have empty cells in some rows as well as empty cells in some columns?
Question 2: Can you use autofill starting at A1 and continuing for example in B7 or C15?
Question 2: Can you use autofill in a column, skipping the numbering when there is an empty cell?
Question 3: Am I making ANY sense AT ALL???;)
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Put 1 in row 1 of the column you want to use (let's say H). Then in row 2 put something like this:

=IF(LEN(A2)>0,MAX(H$1:H1)+1,"")

and copy down.
 
Upvote 0
tHANK YOU, just did that and it is not skipping the empty cells. its just autofills the numbers as if i dragged the +symbol. I'll try again in case i did not copy right
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,225
Members
448,877
Latest member
gb24

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