How to Enter Serial Number in Excel Automatically if have Blank Rows
Published on:
If you regularly work with lists in Excel, keeping rows numbered automatically can save a lot of time. Most people stuck that what the formula should be applied if they have the bulk data in excel and contains lots of blank rows.
=IF(B2="","",COUNTA($B$2:B2))
The formula creates dynamic serial numbers that appear only when data is entered, making your worksheet cleaner and easier to manage.
It is especially useful for office staff, accountants, data entry operators, teachers, inventory managers, and anyone who maintains records, reports, customer lists, or attendance sheets in Excel.
Nazim Khan — Founder & Editor, TechGuruPlus.com
[MBA in Finance]
Nazim Khan has spent over ten years working with Excel, Tally and office documentation in accounts, finance and MIS roles. He has been running TechGuruPlus.com since 2016, where he publishes free editable templates for office work, and the YouTube channel Business Excel. He has trained more than 50,000 people online. Every template on this site is built and checked by him before it is published.