#1   Report Post  
DL
 
Posts: n/a
Default excel formulas

xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

=ROW() in your cells.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"DL" wrote in message
...
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all

numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?



  #3   Report Post  
DL
 
Posts: n/a
Default

sorry--what goes in the ( )? i tried entering "2" for row 2 or "b2" for cell
b2, but i still get an error message...

"Ken Wright" wrote:

=ROW() in your cells.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"DL" wrote in message
...
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all

numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?




  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Entered in A1 & copied down:

=ROW()-ROW(INDEX(A:A,1))+1

would cause no disruption even if row 1 is deleted.

DL wrote:
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?

  #5   Report Post  
DL
 
Posts: n/a
Default

ok, i see. =ROW( ) keeps the series of numbers in the column when i delete a
cell. BUT, i'd like to delete the entire row and have the series in the
column adjust accordingly.
First,
1
2
3
4
5
Then, delete row 3. 4 and 5 move up and change to 3 and 4, respectively.

"Ken Wright" wrote:

=ROW() in your cells.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"DL" wrote in message
...
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all

numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?






  #6   Report Post  
Ken Wright
 
Posts: n/a
Default

That's exactly what it does, but see Aladin's response for a fuller reply.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"DL" wrote in message
...
ok, i see. =ROW( ) keeps the series of numbers in the column when i

delete a
cell. BUT, i'd like to delete the entire row and have the series in the
column adjust accordingly.
First,
1
2
3
4
5
Then, delete row 3. 4 and 5 move up and change to 3 and 4, respectively.

"Ken Wright" wrote:

=ROW() in your cells.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03


--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)


--------------------------------------------------------------------------

--

"DL" wrote in message
...
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have

the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all

numbers
downward are in error, since the a4 formula is erased. is there

anyway to
delete a row without disrupting the sequence? can they be

reformulated
automatically?






  #7   Report Post  
DL
 
Posts: n/a
Default

thank you both!

"Aladin Akyurek" wrote:

Entered in A1 & copied down:

=ROW()-ROW(INDEX(A:A,1))+1

would cause no disruption even if row 1 is deleted.

DL wrote:
xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?


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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Formulas do not work in excel. Flintlock98 Excel Discussion (Misc queries) 1 January 5th 05 10:43 PM
IF/AND formulas within excel mark.ew Excel Discussion (Misc queries) 5 January 4th 05 07:12 PM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 2 November 27th 04 01:55 AM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 0 November 26th 04 03:19 PM


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

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"