PDA

View Full Version : Auto Numbering



omdkhaleel
06-03-2013, 02:57 AM
I would like to have a macro by which serial no column will be numbered whenever name columns entered with value. Could anyone help to write a macro for the same? I have attached sample file to work out.

mdmackillop
06-03-2013, 05:11 AM
Simpler with a formula in A5 and copy down.
=IF(B5<>"",COUNTA(B$5:B5),"")