Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Block Of Numbers Repeating in a Formula

Hello,

I am trying to use the OFFSET($A$1, 1, 2) command. What I want to do
is to make the row count up 1-20 as I go down my column, but I need it
to do that about 20 times, repeating that block. I have tried to get
it to repeat, but I cannot.

If you need more clarification, please ask for it. Thank you for you
help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Block Of Numbers Repeating in a Formula

If I understand what you want to do correctly, you don't need the OFFSET
function. If you are starting you block counting in Row 1, then use this
formula and copy it down...

=1+MOD(ROW()-1,20)

If you are going to start in a row other than Row 1, then change the -1
to -rownum where you would use the starting row number in place of rownum.
So that, if you were starting your count in Row 4, then you would put this
in that cell and copy down....

=1+MOD(ROW()-4,20)

These formulas will preserve the correct numbering if you insert rows later
on (although you would have to copy the formula from one of the adjacent
cells to preserve the continuity of the formulas).

Rick


"colemanj4" wrote in message
...
Hello,

I am trying to use the OFFSET($A$1, 1, 2) command. What I want to do
is to make the row count up 1-20 as I go down my column, but I need it
to do that about 20 times, repeating that block. I have tried to get
it to repeat, but I cannot.

If you need more clarification, please ask for it. Thank you for you
help.


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
How can I fill a block of 300 cells with non-repeating random #s nerkaman Excel Discussion (Misc queries) 1 July 3rd 09 08:16 PM
formula to count sets of repeating numbers Excel-User-RR Excel Worksheet Functions 6 February 16th 09 06:14 PM
I want random numbers generated without repeating numbers Johncobb Excel Worksheet Functions 2 September 7th 06 04:52 PM
REPEATING NUMBERS IN A ROW nazzoli Excel Worksheet Functions 1 August 17th 06 02:57 PM
HOW DO I BLOCK DUPLICATE NUMBERS IN EXCEL SCOTT Excel Worksheet Functions 0 April 11th 06 09:46 PM


All times are GMT +1. The time now is 01:08 PM.

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

About Us

"It's about Microsoft Excel"