Community
Wiki Posts
Search

Excel Question

Thread Tools
 
Search this Thread
 
Old Jan 10, 2008 | 12:39 am
  #1  
Original Poster
FlyerTalk Evangelist
20 Years on Site
 
Join Date: Jan 2004
Location: San Francisco
Programs: AA 3mm Plat
Posts: 10,068
Excel Question

I am far from a power user of Excel and have a basic quesiton:

Can I change the numbering of rows so that some rows at the top of a worksheet can be left numberless and so that numbering can begin a few rows down.

such as

Title (in what is numbered row 1 by default)
subtitle ( in what is number row 2 ..)

1. for first item

2. for second, and so on?
Teacher49 is offline  
Old Jan 10, 2008 | 3:12 am
  #2  
15 Years on Site
 
Join Date: Aug 2006
Location: San Jose CA
Posts: 1,100
Originally Posted by Teacher49
Can I change the numbering of rows so that some rows at the top of a worksheet can be left numberless
No, you cannot rename either the columns (A,B,C) or the rows (1,2,3). However, you can printout the spreadsheet without any columns or row headings, if that's the issue.

In general, you do not want to use the numbers or letters to refer to actual things. For example, if you have 10 students and you want to number them 1-10, do that in a separate dedicated row or column titled "Student Number"

Last edited by boberonicus; Jan 10, 2008 at 3:21 am
boberonicus is offline  
Old Jan 10, 2008 | 3:22 am
  #3  
All eyes on you!
20 Years on Site
 
Join Date: Jan 2002
Location: Washington, DC, USA
Programs: UA MM, MB LifeTit
Posts: 1,866
You can just create a column of numbers for your table. If you want numbering to begin on the spreadsheet's fourth row, enter a 1 in cell A4 and then +A4+1 in cell A5, and so on.
EricH is offline  
Old Jan 10, 2008 | 5:30 pm
  #4  
Original Poster
FlyerTalk Evangelist
20 Years on Site
 
Join Date: Jan 2004
Location: San Francisco
Programs: AA 3mm Plat
Posts: 10,068
Originally Posted by boberonicus
No, you cannot rename either the columns (A,B,C) or the rows (1,2,3). However, you can printout the spreadsheet without any columns or row headings, if that's the issue.

In general, you do not want to use the numbers or letters to refer to actual things. For example, if you have 10 students and you want to number them 1-10, do that in a separate dedicated row or column titled "Student Number"

Exactly the problem. Thanks.

Originally Posted by EricH
You can just create a column of numbers for your table. If you want numbering to begin on the spreadsheet's fourth row, enter a 1 in cell A4 and then +A4+1 in cell A5, and so on.
EricH, I am probably being dense, but ... if I enter this longer string of characters in each row in column A, does it ever become automatic in the sense that:

- next row will be labeled with a number one higher than the preceding row AND

- perhaps more importantly, if I insert or delete a row for a new or departing student, can the rows in column A be made to readjust?

If this is too much to explain, not to worry and thanks for your help thus far!
Teacher49 is offline  
Old Jan 10, 2008 | 5:42 pm
  #5  
All eyes on you!
15 Years on Site
 
Join Date: Jul 2006
Location: ATL
Programs: DL, AA
Posts: 6,033
Originally Posted by Teacher49
EricH, I am probably being dense, but ... if I enter this longer string of characters in each row in column A, does it ever become automatic in the sense that:

- next row will be labeled with a number one higher than the preceding row AND

- perhaps more importantly, if I insert or delete a row for a new or departing student, can the rows in column A be made to readjust?

If this is too much to explain, not to worry and thanks for your help thus far!
The equation EricH gave you will automatically add one to the number in the preceding row. In the first row you want numbered, type 1. In the next row (assuming the 1 is in row 4), type =A4+1. The =A4+1 will add one to the previous number. Copy this equation as far down the sheet as you like. It will automatically adjust from A4 to A5 to A6, etc as you copy it.

If you insert or delete a row, your numbering will be thrown off... but easily repaired. Just copy the equation from the row above the change & copy it down to the row below the change. (If you add a new row 20, copy A19 into A20 & A21. If you delete row 31, copy A30 to the new A31.)
scoow is offline  
Old Jan 10, 2008 | 7:01 pm
  #6  
 
Join Date: Dec 2005
Location: PDX...most of the time.
Programs: F9 Ascent, UA, AA, AS, ICH PA, Hertz PC.....
Posts: 190
Or...

Simply enter 1 in A4, 2 in A5, 3 in A6...then select those 3 cells (click in A4, click while holding shift in A6). Then, look at the lower right corner of A6 - there's a little square there. Click and hold on the square, then drag down as far as you like.


RFT
RFTraveler is offline  
Old Jan 10, 2008 | 7:10 pm
  #7  
FlyerTalk Evangelist
40 Countries Visited
3M
All eyes on you!
25 Years on Site
 
Join Date: May 1998
Location: Massachusetts, USA; AA 2.996MM & Plat Pro, DL 1MM, GM & Flying Colonel
Posts: 25,036
Instead of the formula that calculates from the row above, or dragging the first few numbers to fill in the rest (which will populate those cells with constants, which may be a problem if you delete a row) you can also use this formula in each cell of the area you want to contain numbers:

=row() - 3

The row() function equals the row number of wherever it is: if it's anywhere in row 4 it equals 4, anywhere in row 5 it equals 5, and so on. It must be followed by () for arguments even though it doesn't take any. Subtract 3 if you want row 4 to contain the number 1; adjust this for however many un-numbered rows you have at the top.
Efrem is offline  
Old Jan 10, 2008 | 8:40 pm
  #8  
 
Join Date: Jun 2003
Location: Tanya Buri, Thailand
Programs: CX, TG, SPG all back to base.
Posts: 775
Originally Posted by Efrem

=row() - 3

Never heard of that function before. Thanks for that - it's a really elegant solution. ^
Meerkat is offline  
Old Jan 10, 2008 | 9:04 pm
  #9  
Original Poster
FlyerTalk Evangelist
20 Years on Site
 
Join Date: Jan 2004
Location: San Francisco
Programs: AA 3mm Plat
Posts: 10,068
Originally Posted by Efrem
Instead of the formula that calculates from the row above, or dragging the first few numbers to fill in the rest (which will populate those cells with constants, which may be a problem if you delete a row) you can also use this formula in each cell of the area you want to contain numbers:

=row() - 3

The row() function equals the row number of wherever it is: if it's anywhere in row 4 it equals 4, anywhere in row 5 it equals 5, and so on. It must be followed by () for arguments even though it doesn't take any. Subtract 3 if you want row 4 to contain the number 1; adjust this for however many un-numbered rows you have at the top.
Originally Posted by Meerkat
Never heard of that function before. Thanks for that - it's a really elegant solution. ^
Not only elegant, but I could actually make that one work! Thanks, Efrem! And also to all who attempted to educate this Excel illiterate!
Teacher49 is offline  
Old Jan 10, 2008 | 9:18 pm
  #10  
All eyes on you!
15 Years on Site
 
Join Date: Jul 2006
Location: ATL
Programs: DL, AA
Posts: 6,033
Originally Posted by Meerkat
Never heard of that function before. Thanks for that - it's a really elegant solution. ^
Ditto!
scoow is offline  
Old Jan 11, 2008 | 6:50 am
  #11  
2M
50 Countries Visited
5M
25 Years on Site
 
Join Date: Feb 2000
Location: Menlo Park, CA, USA
Programs: UA 1MM 0P, AA, DL, *wood, Lifetime FPC Plat., IHG, HHD
Posts: 7,174
exactly

Originally Posted by RFTraveler
Simply enter 1 in A4, 2 in A5, 3 in A6...then select those 3 cells (click in A4, click while holding shift in A6). Then, look at the lower right corner of A6 - there's a little square there. Click and hold on the square, then drag down as far as you like.


RFT
exactly, no formula needed. Works with many data sets, dates, even primes!
nmenaker is offline  
Old Jan 11, 2008 | 2:32 pm
  #12  
Original Poster
FlyerTalk Evangelist
20 Years on Site
 
Join Date: Jan 2004
Location: San Francisco
Programs: AA 3mm Plat
Posts: 10,068
Originally Posted by RFTraveler
Simply enter 1 in A4, 2 in A5, 3 in A6...then select those 3 cells (click in A4, click while holding shift in A6). Then, look at the lower right corner of A6 - there's a little square there. Click and hold on the square, then drag down as far as you like.


RFT
Super! I'm going to win some bar bets with all of these. Thanks!

BTW, what's RFT ?
Teacher49 is offline  
Old Jan 11, 2008 | 4:19 pm
  #13  
FlyerTalk Evangelist
All eyes on you!
20 Years on Site
 
Join Date: Jun 2002
Location: n.y.c.
Posts: 14,059
Originally Posted by Teacher49
BTW, what's RFT ?
It's a typo for RTFM.



nerd is offline  
Old Jan 11, 2008 | 4:42 pm
  #14  
Original Poster
FlyerTalk Evangelist
20 Years on Site
 
Join Date: Jan 2004
Location: San Francisco
Programs: AA 3mm Plat
Posts: 10,068
Originally Posted by nerd
It's a typo for RTFM.



Oh!
Teacher49 is offline  
Old Jan 11, 2008 | 5:36 pm
  #15  
 
Join Date: Dec 2005
Location: PDX...most of the time.
Programs: F9 Ascent, UA, AA, AS, ICH PA, Hertz PC.....
Posts: 190
Actually

Look at my 'handle' -- RFTraveler : RFT

Nothing more or less...

RFT(raveler)
RFTraveler is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.