• Answers
  • Web

Numbering Cells in Excel

Hello, I am using MS Excel and I need to create a column with consecutive numbering. That is in Cells A2-A102 I will have the numbers 1-100, in a way that the numbering doesn't get messed up when I sort and resort.

 


Share Send to a friend Watch Report
 
 

5 Posted Answers
Order by

 
3 helpful answers

Easiest way to do it: write the value 1 in A2, the click the cell, and you'll see a black square in the right-bottom corner of the cell highlight. Click this little square and hold the mouse button, press ctrl (see the mouse cursor change) and drag down all the way to cell A102.

Helpful?(3)
Rated as Best Answer
 
3 helpful answers

I assume you mean you want to sort column and the numbers move when you sort?

You can create the numbers using the technique in the first answer (enter 1 and then ctrl-drag).

However to keep the numbers associated to the correct records when you sort you can then copy the range and paste special back with the values only.  Then when you sort the numbers will stay with the records you originally attached them to.

 

Say I have:

1 Aaron Copeland

2 Betty Barnyard

3 Chris Apple

They are now sorted by first name. I want the numbering to remain correct even when I sort by last name (with all columns selected)

 

 
10 helpful answers

The answer markpx provided is correct and will give you that functionality.

 

by pasting-special-values-only (right click and choose "paste special" then select "values") you replace the formula that says "The cell above me, plus one" to a value - that will no longer change when cells are re-arranged. 

Posted 2007-11-13T16:10:37Z
ColdFusion was invited by Yedda to answer this question.

 
33 helpful answers

There is never a good time to buy a new computer.

I agree with the first answer on this one, posted by middleman. 

I do this very often when creating a new sheet. I put the word "Reset" in cell A1 and number from A2 to about A10000. Then I hide the column. If I add rows, I just unhide it and re-number the cells.

This way if someone in my office ends up looking at the sheet and sorting the data, I can get back to where I left it. 

Sign in to participate

Got an answer for webmanoffesto? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

MS Excel 2007 Beta 2 - draw borders

Might be stupid but I can't find the "draw border" buttons on MS Excel 2007 Beta 2.
Submitted by drabsv   3 years ago.
  • viewed 1329 times
Last answer posted 3 years ago by drabsv


Q:

The best office suite

Which one would you recommend as the best office suite - OpenOffice, MS Office 2007 or some other? Please share your comments. Do ...
Submitted by drabsv   3 years ago.
  • viewed 1401 times
Last answer posted 2 hours ago by hahaha


Q:

Excel 2007 - currency format part 2

i have a problem with the way Excel 07 interpretes Windows regional settings. With the Excel 07 file open and Windows regional ...
Submitted by harperj   1 year ago.
  • viewed 792 times



» More...

Explore Related Posts in Forums

Free alternatives to Windows and MS Office for basic office work

PCs without any software licenses. The computers are intended for a typical office use, sending they receive is in a MS office format so the alternative software needs to be able to read it/ and ... first.Although I don't specifically add any new software within this answer I can second that Open Office

Open Office vs. Ms Office survey.. pls help

Large company based software. I am just asking on which one do you prefer to use? Ms Office or Open... and disadvantages of each office software. Will anyone help me and give me their opinion. As i can see to work on MS office computers, then converting will only create more work. HTH GBQuote: : I work

MS Office v MS Works

With the new works software. This is on a new Dell computer with MS works. The new spreadsheet has We have had several computers over the years, but now find that I can't open my old excel files and compatible with MS Office http://www.openoffice.org/ hth CeriHi, as far as i know, Excel and Works...
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License