A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

1-100



 
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2004, 05:50 PM
schaduw - ExcelForums.com
external usenet poster
 
Posts: n/a
Default 1-100

Is it possible to have row A numbered from 1 to 100, and if one of the
numbers is removed the count will automatically change?

i.e.
1
2
3
4
etc.

Now 2 gets deleted, how can i get excel to change 3 to 2 and so on for
the rest of the numbers.

hope this makes sense at all :?
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!
  #2  
Old December 2nd, 2004, 06:33 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default

Hi
in A1 enter
=IF(B1"",1,"")

in A2 enter
=IF(B2"",MAX($A$1:OFFSET(A2,-1,0))+1,"")
and copy this formula down for as many rows as required. Now everytime
someone enters data in column B column A shows a ID value

--
Regards
Frank Kabel
Frankfurt, Germany

"schaduw - ExcelForums.com"
schrieb im Newsbeitrag ...
Is it possible to have row A numbered from 1 to 100, and if one of

the
numbers is removed the count will automatically change?

i.e.
1
2
3
4
etc.

Now 2 gets deleted, how can i get excel to change 3 to 2 and so on

for
the rest of the numbers.

hope this makes sense at all :?
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!


  #3  
Old December 2nd, 2004, 08:45 PM
Trevor Shuttleworth
external usenet poster
 
Posts: n/a
Default

=ROW() in cell A1 and copy down

Regards

Trevor


"schaduw - ExcelForums.com" wrote
in message ...
Is it possible to have row A numbered from 1 to 100, and if one of the
numbers is removed the count will automatically change?

i.e.
1
2
3
4
etc.

Now 2 gets deleted, how can i get excel to change 3 to 2 and so on for
the rest of the numbers.

hope this makes sense at all :?
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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