×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Row Numbering question

Row Numbering question

Row Numbering question

(OP)
Hi,
I need to number my data set rows in a worksheet.  But the rows are every other one. (one empty row between each data row)  Is there an way to do this simply?  

Thanks

RE: Row Numbering question

Excel is pretty good at pattern matching using the AutoFill function.  Just number the first three data rows manually, select the first 6 cells (the 3 that you numbered and the empty cells below each of them), click that little black square at the bottom right hand corner of the selection, and drag down as far as you want.

RE: Row Numbering question

One of the ways to accomplish it: suppose the row numbering starts at cell A5 with number 1. Copy the following formula in the column below A5

CODE

=IF(ROW()=ODD(ROW()),A5+1,"")
  
Should do!

RE: Row Numbering question

(OP)
thanks for the help :)

RE: Row Numbering question

This counting formula will skip blank rows.  Say the numbering is in column A and the list items are in column B.  Put this formula in cell A1 and fill down...

CODE

=IF(ISBLANK(B1)=TRUE,"",COUNTA($B$1:B1))

RE: Row Numbering question

Hi Golestan:

A simple way to do this is to use EXCEL's Fill_Series feature. Let us say your data begins in row 2, aand you want row numbers in column C, then this is what you do ...

1) key in 1 in cell C2
2) key in 2 in cell C4
3) select cells in column C starting with cell C1 and going down as many rows as you like.
4) With all the cells selected, and with cell C1 as the ActiveCell, invoke EDIT|Fill>Series, then ...
5) Series in Box ... click in option button Column
6) Type Box ... click in option button AutoFill
7) click OK
8) if the rows are numbered the way you want ... Success! otherwise undo and back to Step 1

I hope this helps.

Yogi Anand, D.Eng, P.E.
Energy Efficient Building Network LLC
ANAND Enterprises LLC
http://www.energyefficientbuild.com

RE: Row Numbering question

Putting in alternating blank rows however would not allow you to conviniently copy formulas down through all the cells. Mabe all you need to do is increase the row hight and select cell alignment and select center horizontal and center vertical. The added row height with text in the middle would give the appearance of having blank row in between yet allow you to copy formulas down.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources