How do i Autonumber the first column by avoiding the blank space and numbered cells - AM NEW TO BXCEL. Thanks

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi Titus,

assuming your first col starts from Col A, and what i understand your numbered cells to avoid are like "930000", and you want to number off from Row 2 onwards, try input the formula below in cell A2 and drag down.

=IF(AND(NOT(ISBLANK(B2)),NOT(ISNUMBER(B2))),ROWS($B$2:$B2)-COUNTBLANK($B$2:$B2)-COUNT($B$2:$B2),"")
 
Upvote 0
Hi Titus,

assuming your first col starts from Col A, and what i understand your numbered cells to avoid are like "930000", and you want to number off from Row 2 onwards, try input the formula below in cell A2 and drag down.

=IF(AND(NOT(ISBLANK(B2)),NOT(ISNUMBER(B2))),ROWS($B$2:$B2)-COUNTBLANK($B$2:$B2)-COUNT($B$2:$B2),"")

vbanoob0807, Thank you So Much. Exactly what i needed.
 
Upvote 0
Thank you Neil, so much for This reply. It did what exactly i need. Since I am new to excel this really blew me off since it had taken hours manually.
 
Upvote 0

Forum statistics

Threads
1,215,539
Messages
6,125,403
Members
449,222
Latest member
taner zz

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