FlyerTalk Forums

FlyerTalk Forums (https://www.flyertalk.com/forum/index.php)
-   Travel Technology (https://www.flyertalk.com/forum/travel-technology-169/)
-   -   Excel Question (https://www.flyertalk.com/forum/travel-technology/777372-excel-question.html)

Teacher49 Jan 10, 2008 12:39 am

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?

boberonicus Jan 10, 2008 3:12 am


Originally Posted by Teacher49 (Post 9039997)
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"

EricH Jan 10, 2008 3:22 am

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.

Teacher49 Jan 10, 2008 5:30 pm


Originally Posted by boberonicus (Post 9040351)
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 (Post 9040378)
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!

scoow Jan 10, 2008 5:42 pm


Originally Posted by Teacher49 (Post 9045081)
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.)

RFTraveler Jan 10, 2008 7:01 pm

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:D

Efrem Jan 10, 2008 7:10 pm

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.

Meerkat Jan 10, 2008 8:40 pm


Originally Posted by Efrem (Post 9045606)

=row() - 3


Never heard of that function before. Thanks for that - it's a really elegant solution. ^

Teacher49 Jan 10, 2008 9:04 pm


Originally Posted by Efrem (Post 9045606)
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 (Post 9046019)
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!

scoow Jan 10, 2008 9:18 pm


Originally Posted by Meerkat (Post 9046019)
Never heard of that function before. Thanks for that - it's a really elegant solution. ^

Ditto!

nmenaker Jan 11, 2008 6:50 am

exactly
 

Originally Posted by RFTraveler (Post 9045572)
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:D

exactly, no formula needed. Works with many data sets, dates, even primes!

Teacher49 Jan 11, 2008 2:32 pm


Originally Posted by RFTraveler (Post 9045572)
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:D

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

BTW, what's RFT ?

nerd Jan 11, 2008 4:19 pm


Originally Posted by Teacher49 (Post 9051116)
BTW, what's RFT ?

It's a typo for RTFM.

:eek:

;)

Teacher49 Jan 11, 2008 4:42 pm


Originally Posted by nerd (Post 9051898)
It's a typo for RTFM.

:eek:

;)

Oh! :o

RFTraveler Jan 11, 2008 5:36 pm

Actually
 
Look at my 'handle' -- RFTraveler : RFT

Nothing more or less...

RFT(raveler) :D


All times are GMT -6. The time now is 10:48 am.


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.