Auto Adjust Numbering After Delete/Insert New Row

kumara_faith

Well-known Member
Joined
Aug 19, 2006
Messages
955
Office Version
  1. 365
Hi,

I have a spreadsheet which is project tracking sheet as below:
Excel Workbook
BC
81.00Medical Business
91.10Finalize Document Matrix for scanning
101.11List of documents that will require scanning
111.12Volume of documents that will require scanning
121.13Indexing criteria for each documents
131.20Confirm Business Rules
141.21Establish turn around time
151.22Establish work process for the scanning process
161.30Resource Planning
171.31Collate updated scanning volume
181.32Analyze existing and future scanning volume
191.33Make necessary change in existing work process to accommodate new volume
201.34Approval and installation of software
211.35Submit request for additional staff based resource and volume if necessary
Project Tracking


On a very frequent basis, i will need to add new task by inserting new rows in between existing rows. For example, I would need to add a new task between row number 1.31 and 1.32. When I do this, I need to fill the number manually in the new row and adjust all other numbering manually.

Is there a way to get excel to automatically fill in the number for the new row and adjust all other numbering automatically ? Excel should also adjust all numbering automatically when any existing rows are deleted.

is this possible ? Appreciate assistance.

I have a partial croos post here:

http://www.excelforum.com/excel-programming/755883-auto-adjust-all-formatting.html
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi,

You won't get your own numbering format as there is no regular pattern, you could use something like the below but you will still have to drag the formula down when you insert/delete rows to refresh it...... HTH

Ian.

Excel Workbook
AB
11Medical Business
21.1Finalize Document Matrix for scanning
31.2List of documents that will require scanning
41.3Volume of documents that will require scanning
51.4Indexing criteria for each documents
61.5Confirm Business Rules
71.6Establish turn around time
81.7Establish work process for the scanning process
91.8Resource Planning
101.9Analyze existing and future scanning volume
112Make necessary change in existing work process to accommodate new volume
122.1Approval and installation of software
132.2Submit request for additional staff based resource and volume if necessary
Sheet2
 
Upvote 0
Hi,

Thanks Cook_101.

I was trying this from the following page:
http://blogs.techrepublic.com.com/msoffice/?p=293
1.In A1, enter this formula:
=TEXT(Row(A1),"000-000")
2.Enter the name of the first product in B1.
3.Enter the price of the first product in C1.
4.Copy cell A1 to A2.
5.Enter the name of the second product in B2.
6.Enter the price of the second product in C2.
7.Select A1:C2.
8.Go to Data | List and select Create List. (In Excel 2007, press [Ctrl]T, then click OK.)
Now when you type the name of the next product in B3 and press [Tab], Excel will automatically fill in the next number for you.


Excel Workbook
ABC
1NumberProductPrice
2000-002Binder$ * * * * * * 2.50
3000-003Pencil$ * * * * * * 0.80
4000-004Ruler$ * * * * * * 0.30
5000-005File$ * * * * * * 2.60
Sheet3




This works great because it auto inserts a number whenever a new row inserted and adjust accordingly when a row is deleted.

However, after performing all the steps above, cell A2 has a numbering of 000-002 instead of 000-001.

I did the following:
1) Changed the formula in cell A2 from =TEXT(ROW(A2),"000-000") to =TEXT(ROW(A1),"000-000")

However, when I did this, it does not auto fill the number on a new row correctly.

Example: When I insert a new row in between number 000-003 and 000-004, I am getting the following:
Excel Workbook
ABC
1NumberProductPrice
2000-001Binder$ * * * * * * 2.50
3000-002Pencil$ * * * * * * 0.80
4000-003Ruler$ * * * * * * 0.30
5000-004**
6000-004File$ * * * * * * 2.60
Sheet3




Is there a way I could resolve this ?
 
Upvote 0
Hi,

I'm using 2003 and not sure of any changes between the two - looks as though it is not refreshing/recognising the new inserted/deleted row.

When creating a list you should have started with your header in A1 and in A2 with the formula

=TEXT(ROW(A1),"000-000")

and when you Data>>List>>Create , ensure that the headers box is ticked (2003)

To insert rows you need to refresh the list you will have to copy the above formula down again after you have deleted/inserted rows I'm afraid as you will just get what is shown below, as you are now aware....

Excel Workbook
ABC
1NumberProductPrice
2000-001Binder$2.50
3000-002
4000-002Pencil$0.80
5000-004
6000-004
7#REF!
8#REF!ruler$0.3
9
Sheet1
 
Upvote 0

Forum statistics

Threads
1,225,468
Messages
6,185,162
Members
453,281
Latest member
shantor

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