Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 108
Default Maintaining numerical order when deleting row

Hi. Could someone help? I am trying to keep the numerical order I have in
column A when deleting a row. Any tips? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Maintaining numerical order when deleting row

put a formula in column A

row 1 : 1
row 2 : =A1 + 1
row 3 : =A2 + 1
row 4 : =A3 + 1

You just copy cell in A2 (A1+ 1) to the other rows in column A. the copy
will increment the row numbers automatically. the only problem is when you
delete row 1, the you havve to put the 1 back into row 1.

Second method
row 1 : =row(A1)
row 2 : =row(A2)
row 3 : =row(A3)


Just copy the formula from A1 to all the other cells in column A


If you counting starts at 100
row 1 : =row(A1) + 99
row 2 : =row(A2) + 100
row 3 : =row(A3) + 101



"Russ" wrote:

Hi. Could someone help? I am trying to keep the numerical order I have in
column A when deleting a row. Any tips? Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Maintaining numerical order when deleting row

Just to add to Joel's response.

If I had headers in row 1 and started my numbering in A2 with 1, I'd just use:

=row()-1
(and drag down the column)

The only difference between what Joel suggestion and mine is that I'd drop the
cell reference.

Russ wrote:

Hi. Could someone help? I am trying to keep the numerical order I have in
column A when deleting a row. Any tips? Thanks


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reordering a List in Numerical Order Bob Excel Worksheet Functions 13 December 5th 06 11:57 AM
Pivot Table - Deleting data rows while maintaining them in the tot Robert Hamilton Excel Worksheet Functions 0 June 7th 06 07:39 PM
How do I put my spreadsheet in numerical order? mcall Excel Discussion (Misc queries) 1 April 21st 06 07:30 PM
Maintaining numerical data with <'s in pivot tables MichelleEMS Excel Worksheet Functions 1 May 12th 05 03:40 PM
Maintaining a default worksheet order Graham Excel Discussion (Misc queries) 4 February 21st 05 08:52 PM


All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"