auto number columns in excel

Is there a way to set up a column of numbers so that it automatically updates 
the numbers every time a line is added or deleted?
0
Laura (120)
3/29/2005 5:43:01 AM
excel.misc 78881 articles. 5 followers. Follow

4 Replies
575 Views

Similar Articles

[PageSpeed] 27

>-----Original Message-----
>Is there a way to set up a column of numbers so that it 
automatically updates 
>the numbers every time a line is added or deleted?
>.
>Use     =count(A1:A10)    or more rows as required. 
If its the last row used - =row(B1) extended down to 
maybe B100. Then you can use   =large(B1:B100) this will 
give you the last row used.
Mal
0
anonymous (74723)
3/29/2005 6:20:16 AM
I either did not understand the reply given or was not clear in what I am 
trying to accomplish.  I have a spreadsheet that I am trying to create a 
brand new column of numbers that are not related to the automated row numbers 
that are part of the excel program.  To clarify, my column starts on row 
three of the excel sheet, but I need it to start with number one and then 
continue on in series.  I also need it to automatically update the new row 
numbers as rows are added and deleted.  Is there a way to do this?  Please 
help!

"anonymous@discussions.microsoft.com" wrote:

> 
> >-----Original Message-----
> >Is there a way to set up a column of numbers so that it 
> automatically updates 
> >the numbers every time a line is added or deleted?
> >.
> >Use     =count(A1:A10)    or more rows as required. 
> If its the last row used - =row(B1) extended down to 
> maybe B100. Then you can use   =large(B1:B100) this will 
> give you the last row used.
> Mal
> 
0
Laura (120)
3/29/2005 7:53:02 AM
The difficulty may be in what you mean by a row is added, as a spreadsheet
consists of a fixed number of rows, albeit not all necessarily used.

To get the numbers is easy enough, =ROW(A1), and copy down, but to create
when you 'add a row' needs clarification.

-- 

HTH

RP
(remove nothere from the email address if mailing direct)


"Laura" <Laura@discussions.microsoft.com> wrote in message
news:9D0D0A30-EB25-433F-B6D1-9DD951F8CB3E@microsoft.com...
> I either did not understand the reply given or was not clear in what I am
> trying to accomplish.  I have a spreadsheet that I am trying to create a
> brand new column of numbers that are not related to the automated row
numbers
> that are part of the excel program.  To clarify, my column starts on row
> three of the excel sheet, but I need it to start with number one and then
> continue on in series.  I also need it to automatically update the new row
> numbers as rows are added and deleted.  Is there a way to do this?  Please
> help!
>
> "anonymous@discussions.microsoft.com" wrote:
>
> >
> > >-----Original Message-----
> > >Is there a way to set up a column of numbers so that it
> > automatically updates
> > >the numbers every time a line is added or deleted?
> > >.
> > >Use     =count(A1:A10)    or more rows as required.
> > If its the last row used - =row(B1) extended down to
> > maybe B100. Then you can use   =large(B1:B100) this will
> > give you the last row used.
> > Mal
> >


0
bob.phillips1 (6510)
3/29/2005 9:02:20 AM
Laura - 

This will deal with DELETED rows, but not INSERTED rows.  For inserted rows 
you'll need to copy the formula into the appropriate cell in the new row.

In the cell where you want the numbers to start enter the number 1 as a 
constant.  In the next cell down use the formula 

=OFFSET(current cell's address,-1,0)+1 (or whatever increment you want to use)

Copy it down as far as needed.  

Duke


"Laura" wrote:

> I either did not understand the reply given or was not clear in what I am 
> trying to accomplish.  I have a spreadsheet that I am trying to create a 
> brand new column of numbers that are not related to the automated row numbers 
> that are part of the excel program.  To clarify, my column starts on row 
> three of the excel sheet, but I need it to start with number one and then 
> continue on in series.  I also need it to automatically update the new row 
> numbers as rows are added and deleted.  Is there a way to do this?  Please 
> help!
> 
> "anonymous@discussions.microsoft.com" wrote:
> 
> > 
> > >-----Original Message-----
> > >Is there a way to set up a column of numbers so that it 
> > automatically updates 
> > >the numbers every time a line is added or deleted?
> > >.
> > >Use     =count(A1:A10)    or more rows as required. 
> > If its the last row used - =row(B1) extended down to 
> > maybe B100. Then you can use   =large(B1:B100) this will 
> > give you the last row used.
> > Mal
> > 
0
DukeCarey (494)
3/29/2005 1:39:05 PM
Reply:

Similar Artilces:

Auto Filter problem
I am using the auto filter for a particular column to sort out differen medical programs. When I click the drop down and click a program, i doesnt show me ALL the lines that say this particular program. Why is this? -- Message posted from http://www.ExcelForum.com Hi maybe some hidden characters in these lines 8e.g. additional space characters, etc.) -- Regards Frank Kabel Frankfurt, Germany "jkb724 >" <<jkb724.19rasx@excelforum-nospam.com> schrieb im Newsbeitrag news:jkb724.19rasx@excelforum-nospam.com... > I am using the auto filter for a particular column to so...

Problem while saving a shared excel'07 document
Hi, in my bussiness, we have a shared excel 2007 document. This document worked fine with Excel 2003, but now we're migrated to 2007, we've got all kind of problems.. When I try to save the document, 6 out of 10 times, the saving failed with an error that Excel could not track changes. You should close the document and try it again, but then you loose all you're changes. You can also turn 'Share Workbook' off, and on again, then you can save the file, but all the changes other people have made are gone... I can't find any solution, so maybe there's...

How to copy specific columns until end of data
I'm trying to import data from 2 workbooks into a summary (combination) workbook. The trouble I'm having, is I want to import only certain columns and have excel know to stop at the last row with data. For example, from Workbook1 I want to import columns A, B, C, F, and G (from Sheet2). I want it to copy up to the last row containing any data--right now that's row 1046, but next month it could be row 1267. In workbook2 I'm fine with it copying the CurrentRegion--all columns are important. BUT, it doesn't include the title/category heads in the first row (Salesperson, ...

Exporting Excel Charts in Separate Tabs
I have an excel file with different charts on each tab. The Excel file has at least 20 tabs and I would like to export them into Word as a separate sheet per tab for a reference guide. Is there a way to export from excel without having to cut and paste each tab? I am using MS Office 2003. ...

Auto-Editing
Word 2003 has a very annoying default. It assumes too much! If I reformat a few words in a document, it changes the entire document to that formatting. Grr-rrr-r! I have to constantly press undo to get what I want. I know there's a feature that's causing this annoyance but I can't find it to turn it off! Can anyone help, please? See http://word.mvps.org/faqs/formatting/wholedocumentreformatted.htm. -- Stefan Blom Microsoft Word MVP "Connie Martin" <ConnieMartin@discussions.microsoft.com> wrote in message news:CD959D82-F81B-4A9D-993E-73...

excel 400 problem
When I click formaton the toolbar, then hide, an error box pops up with a x on it and says 400, I have tried everything and have now removed office XP from the computer. Before I reinstall it does anyone have any Idea what was going on here or any sugestions. This hapens even on a blank sheet. When I run excel 2000 on another computer I don't have this problem. Thanks Reinstalled Excel XP still same problem "Visual box opens with red X and the number 400" Searched MS and Google for help but no solutions "politesse" <eperry2424nospama@myrealbox.com&g...

Doing charts in Excel 2000
i am still using the Excel in my Office 200 package. Where can I get udates to do better charts? All of the techniques shown here http://peltiertech.com/Excel/Charts/index.html can be used to make more interesting chart best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "TVG" <TVG@discussions.microsoft.com> wrote in message news:CD14A74C-8018-40FC-AA4F-FA0925208A78@microsoft.com... >i am still using the Excel in my Office 200 package. Where can I get udates > to do better charts? ...

How can I save Excel file to A CD
I need to save An excel file to A CD, so I can view and work with it on A laptop. I am useing office 2003 "Juleslib" <Juleslib@discussions.microsoft.com> wrote in message news:76E7A9BC-53AB-400C-AC00-8A3EA3B09CA5@microsoft.com... >I need to save An excel file to A CD, so I can view and work with it on A > laptop. > I am useing office 2003 Save it to your HDD and then use your burning software to put it onto a CD. However, a CD is 700 MB - that's an absolutely ENORMOUS file. You'd be better off with either a USB memory stick, or emailing it... You need...

Datasheet Column Titles
Are the column titles in a datasheet just a regurg of the field names coming from the table? Or is there some way of pesuading them to show something else? -- Thanks, croy When you add the fields to the form, labels are also created. The column titles pick up what's in those labels. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "croy" <croy@invalid.net> wrote in message news:rviqf3ti1ug54r4ichv02a4222k8ju8984@4ax.com... > Are the column titles in a datasheet just a regurg of the > field names coming from the table? > &...

Auto-Calculate
I have a spreadsheet that utilize the stock quote add-in from MSN. On a daily basis I refresh the add-in functions for the Highs, Lows, Last, Volume, etc. On occasion the spreadsheet reverts to manual caculation settings, and I have to press the F9 even after I updated the quotes. I've always preferred the any spreadsheets I open, blank or otherwise, the automatic setting selected for calculations. I consider this an annoyance. Has anyone experienced this glitch? Is there a fix for it? Ron_D Ron Excel takes the calculation mode from the first workbook that opens in a session. Sub...

auto copy self
How do I arrange for Outlook to automatically copy myself on every new, reply or forward email? If you mean keep a copy of all sent, see settings under Tools/Options/Email Options and Advanced Options David "rich" <steamuk@aol.com> wrote in message news:055c01c3664f$dadecd30$a001280a@phx.gbl... > How do I arrange for Outlook to automatically copy myself > on every new, reply or forward email? ...

Column reference got changed
Column references in my excel sheets which which usually show as A B C D ....... are now showing 1 2 3 4 5 Please help willy wrote: >Column references in my excel sheets which which usually show as A B C D >...... are now showing 1 2 3 4 5 >Please help Tools | Options, General tab. Untick R1C1 reference style. -- Message posted via http://www.officekb.com Goto <Tools><Options><Settings> and untick <R1C1 reference style>. Regards. Bill Ridgeway Computer Solutions "willy" <willy@discussions.microsoft.com> wrote in message news:DB0C70...

Auto Scale Chart Macro -- Any improvements please?
This is the best way I've found to correctly scale a chart -- the only way I found to exclude a chart interpolating with #NA cells was to delete those cells containing #NA, and run the chart. This takes a long time on my computer. Wondering if there is a better way. This macro is directly taken from 2 excel mvps and modified; i believe a mehta and ron bovarty, but could be wrong. Thanks for taking a look. Sub AutoScaleYAxes() Dim ValuesArray(), SeriesValues As Variant Dim Ctr As Integer, TotCtr As Integer Application.Run "Extend_Stock_Data" Applic...

Auto correct or Auto complete
We are all familiar witht he auto correct or auto complete functions found in MS applications. Of course that means it is available in Access also. My question is this ... can this function be replicated within the DB, so that the set of auto correct items are part of the package rather than something that would have to be set up on each individual desktop system? It's use, for me, would primarily be within a memo field where medical abreviations, used as a shortcut, would convert to the true meaning as the user types them in. Ex: "prn" without quotes would change to. &qu...

Excel 2003
These are the words of someone else on www.msfn.org with same problem as me (however, the answer give have not resolved the problem): I have a problem with Excel: When I select any cell, then let go of the left mouse button - it acts as though I am permanently holding down the left mouse button; i.e. it tries to select multiple cells. I cannot de-select the left mouse button and cannot access any of the menu buttons. The only thing I can do is right click on the taskbar at the bottom of the screen and close excel - open it up again and have the same problem! I also get a similar proble...

display number as number name
I want to get the number name of the corresponding number i enter. Hi see: http://www.xldynamic.com/source/xld.xlFAQ0004.html "Kamala Kannan" wrote: > I want to get the number name of the corresponding number i enter. ...

Turn 3 columns into 1
--____TRBQFUNOYCJHJLNRIYFH____ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; modification-date="Wed, 13 May 2008 10:57:51 -0500" SSBoYXZlIDMgY29sdW1ucyB0aGF0IEkgd291bGQgbGlrZSB0byBiZSBtZXJnZWQgaW4gdG8gb25l LiBGb3IgZXhhbXBsZToNCg0KYjI9MyBjMj00IGQyPTYsIGFuZCBzbyBlMiA9IDMNCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlMyA9IDQNCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBlNCA9IDYNCg0KVGhhbmtzIGZvciBhbnlvbmUgdGhhdCBjYW4gaGVs cA== --____TRBQFUNOYCJHJLNRIYFH____ Content-Type: multipart/related; boundary="____POUSE...

OWA auto login
I am trying to use the credentials from the forms authentication login to automaticaly log in to Outlook Web. I redirect to a URL with this format: http://UserName:Password@mailserver/exchange I have seen this example in other posts but this does not work for me. I still get the Outlook Windows Login prompt. Perry Perecli Manole wrote: > I am trying to use the credentials from the forms authentication > login to automaticaly log in to Outlook Web. I redirect to a URL with > this format: http://UserName:Password@mailserver/exchange > I have seen this example in other posts but t...

macro help = extract content of specific columns accross a row
have a spreadsheet which consists of about 5125 rows and 2840 columns. I am using Excel 2007 in order to get access to the extra columns. Now I need help creating a macro to automate a very tedius and manual task. The first column in the spreadsheet is empty. What I Need =========== For every row I would like to extract the contents of certain columns accross the row and copy to the first column of the row. into the first column i would like to copy the contents of the following columns accross the row. 6C = sixth column, 9C = 9th column etc... 6C + " " + 7C + " &...

Test number of decimal places in Currency format
How can I interrogate the system (Windows, I guess) to find out how many decimal places are specified in its Currency format? Alternatively, how can I test a number that's been entered to ensure that the user did not enter more decimal places than the Windows currency format permits (Access will store what's entered, but I want to reject what's been entered if it's not according to the Regional settings). Bob Randy Birch has code to give you details about the defined Locale Currency information at http://vbnet.mvps.org/code/locale/localecurrency.htm Note, though, th...

Any way to get rid of an auto-suggestion in the login dialog box, for Exchange/OL using RPC over HTTP?
A client was using RPC over HTTP to two different Exchange servers (OL prompting for profile on startup). Both profiles were set up to prompt for credentials upon connection to Exchange. There's now only one Outlook profile needed; the other is gone and OL isn't prompting for the profile selection any longer, which is fine. However, Outlook is remembering domain1\user and domain2\user in the login dialog box, and I'd love to be able to get rid of the no-longer-valid credential dropdown suggestion. (The computer is not a member of a domain and hence always needs to be prom...

column is added up by original figure not after rounding up
Microsoft Excel 2003 my format is multiplying cell by 0.245 the system automatically rounds up to the nearest unit (because i am using currency) When l total the whole column it adds by the original three digit and not the rounded up figure. Which means by totals are incorrect Change your formula to: =ROUND(A1*0.245,2) which will round to 2 decimal places (cents, or pence etc), or: =ROUNDUP(A1*0.245,0) if you really want to round up to units (dollars, pounds etc), Your total will now reflect what is on screen. Hope this helps. Pete Gwen wrote: > Microsoft Excel 2003 > > m...

question about data from excel to work
I am trying to take input from an excel sheet and mailmerge it to word....the thing is I want to make it so from here on out ..if I change something in the excel sheet it automatically updates on word as well..if not a mail merger what can I use ? -- Pooja Kamdar Hi Pooja Kamdar, You can link the Word document to the Excel workbook, so that any changes in the Excel workbook will be reflected in the Word document. To do this: 1. copy the source range in the Excel workbook 2. in the Word document, use Edit|Paste Special > Paste Link and choose the paste format you wan...

Count number of lines of text in a range/value.
To start, 1) Add a form w/ a textbox to your VBA project. 2) Set the textbox's AUTOSIZE property to False. 3) Set the textbox's MULTILINE property to False. In your code... 4) Call on the Form's SHOW method (modal or modeless is irrelevant). 5) Set the textbox's TEXT property to the (trimmed) value you are working with. 6) Set the textbox's AUTOSIZE property to True. 7) Set the textbox's MULTILINE property to True. 8) Save/get the textbox's LINECOUNT property. 9) Call on the form's HIDE method. btw, I assume no responsibility for the code. Use it at your own...

Auto look through subfolders
Please help. I can write a macro that will extract data from all excel files in a specific folder. What I need to be able to do is write a macro that will automatically extract data from excel files within folders and sub folders and sub sub folders etc For example the data is all held on the following directory: H:\development forms\2006 cost sheets\ And within that directory by customer - for example Tesco, Boots, Asda etc. These customers are then subdivided into product ranges - eg 1,2,3,4 etc and some futher subdivided by national or exclusive. All the excel files are in exactly th...