Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default item numbers in a list that update if a row is deleted

I have a list of data, in the left column I have an item number for each row.
If I remove a row I need the item number to update. At present if I remove
row 4 then the item no. column will read 1,2,3,5,6,7 (and miss out 4), but i
need the item no. column to read 1,2,3,4,5,6. It would be useful if I could
have the first row as row 1 (as this will not be deleted) and have a formula
in each item no. cell that calculates 'the value in the cell above +1'. Does
anybody now of how to create a formula like this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default item numbers in a list that update if a row is deleted

Instead of the formula =previous cell + 1, how about =ROW() . This
returns the row number on which the formula is entered if the () is
blank, or the row number of a reference, as in =ROW(A2), which returns
2.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default item numbers in a list that update if a row is deleted

Cheers dave, this works fine.

"Dave O" wrote:

Instead of the formula =previous cell + 1, how about =ROW() . This
returns the row number on which the formula is entered if the () is
blank, or the row number of a reference, as in =ROW(A2), which returns
2.


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
auto updating list Larry Excel Worksheet Functions 8 July 27th 06 01:59 PM
find sum in list of of numbers Jim Thomlinson Excel Discussion (Misc queries) 5 January 4th 06 07:07 PM
update data validation list with new entries?? cjtj4700 Excel Discussion (Misc queries) 10 December 12th 05 01:00 AM
Extract each item in the list 0-0 Wai Wai ^-^ Excel Worksheet Functions 1 December 11th 05 06:26 PM
How select an item in a list box jamie81 Excel Worksheet Functions 1 May 31st 05 09:53 AM


All times are GMT +1. The time now is 08:37 AM.

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

About Us

"It's about Microsoft Excel"