Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default incrementing every two rows--the sequel

Hello:

I had posted a topic about an hour ago and it was replied to. And, I very
much wish to thank the person that replied.

I really did not make myself clear in that posting, however. Let me try to
explain, again.

I have a spreadsheet of over 16,000 records. In certain spots within the
spreadsheet, I'm going to number each set of two rows. So, I may one set of
two rows numbered 620, the next set number 621, the next set number 622, and
so forth.

I know that you can increment rows numerically by using your mouse to select
the rows and drag a corner of the box down. This does not work, however,
when you are numbering a set of two rows incrementally.

Any ideas would be appreciated. Thanks!

childofthe1980s
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default incrementing every two rows--the sequel

Type the first cell in (assumes you enter 1 in cell A1)
In the second cell, type =A1
In the third cell, type =A2+1
In the fourth cell, type =A3
In the fifth cell, type =A3+1
In the sixth cell, type =A4

Now, select cells A3 through A6 (4 cells)
Copy down. Worked for my test. :)
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com



"childofthe1980s" wrote in
message ...
Hello:

I had posted a topic about an hour ago and it was replied to. And, I very
much wish to thank the person that replied.

I really did not make myself clear in that posting, however. Let me try

to
explain, again.

I have a spreadsheet of over 16,000 records. In certain spots within the
spreadsheet, I'm going to number each set of two rows. So, I may one set

of
two rows numbered 620, the next set number 621, the next set number 622,

and
so forth.

I know that you can increment rows numerically by using your mouse to

select
the rows and drag a corner of the box down. This does not work, however,
when you are numbering a set of two rows incrementally.

Any ideas would be appreciated. Thanks!

childofthe1980s



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default incrementing every two rows--the sequel

Try using this formula copied down:

=INT(ROW(A1240)/2)

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
www.ExcelUserConference.com


"childofthe1980s" wrote in
message ...
Hello:

I had posted a topic about an hour ago and it was replied to. And, I very
much wish to thank the person that replied.

I really did not make myself clear in that posting, however. Let me try
to
explain, again.

I have a spreadsheet of over 16,000 records. In certain spots within the
spreadsheet, I'm going to number each set of two rows. So, I may one set
of
two rows numbered 620, the next set number 621, the next set number 622,
and
so forth.

I know that you can increment rows numerically by using your mouse to
select
the rows and drag a corner of the box down. This does not work, however,
when you are numbering a set of two rows incrementally.

Any ideas would be appreciated. Thanks!

childofthe1980s



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default incrementing every two rows--the sequel

Try using this formula copied down:

=INT(ROW(A1240)/2)

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
www.ExcelUserConference.com


"childofthe1980s" wrote in
message ...
Hello:

I had posted a topic about an hour ago and it was replied to. And, I very
much wish to thank the person that replied.

I really did not make myself clear in that posting, however. Let me try
to
explain, again.

I have a spreadsheet of over 16,000 records. In certain spots within the
spreadsheet, I'm going to number each set of two rows. So, I may one set
of
two rows numbered 620, the next set number 621, the next set number 622,
and
so forth.

I know that you can increment rows numerically by using your mouse to
select
the rows and drag a corner of the box down. This does not work, however,
when you are numbering a set of two rows incrementally.

Any ideas would be appreciated. Thanks!

childofthe1980s



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default incrementing every two rows--the sequel

Or, with a slight change, you may get better performance from
=INT(ROW(A1)/2-0.01)+1

since then if on row 1, items on both Row1 and Row 2 will receive "1", and
row 3& 4 will receive 2, etc.

Maybe I am wrong, just try each.

HTH
Bill
"Damon Longworth" wrote in message
...
Try using this formula copied down:

=INT(ROW(A1240)/2)

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
www.ExcelUserConference.com


"childofthe1980s" wrote in
message ...
Hello:

I had posted a topic about an hour ago and it was replied to. And, I
very
much wish to thank the person that replied.

I really did not make myself clear in that posting, however. Let me try
to
explain, again.

I have a spreadsheet of over 16,000 records. In certain spots within the
spreadsheet, I'm going to number each set of two rows. So, I may one set
of
two rows numbered 620, the next set number 621, the next set number 622,
and
so forth.

I know that you can increment rows numerically by using your mouse to
select
the rows and drag a corner of the box down. This does not work, however,
when you are numbering a set of two rows incrementally.

Any ideas would be appreciated. Thanks!

childofthe1980s





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incrementing Rows and Columns Intern Excel Discussion (Misc queries) 1 June 5th 09 05:59 PM
incrementing every two rows childofthe1980s Excel Programming 3 June 25th 05 12:09 AM
Incrementing formula by two rows Ben Hur Excel Worksheet Functions 1 February 24th 05 09:21 PM
Automatically 'incrementing' formulas for new rows. MediaScribe New Users to Excel 3 February 21st 05 06:29 PM
Problem incrementing rows hotherps[_12_] Excel Programming 10 February 18th 04 07:00 PM


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"