PC Review


Reply
Thread Tools Rate Thread

Block Of Numbers Repeating in a Formula

 
 
colemanj4
Guest
Posts: n/a
 
      28th Jan 2008
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 With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      28th Jan 2008
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" <(E-Mail Removed)> wrote in message
news:39b132de-952d-4b74-92a8-(E-Mail Removed)...
> 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula to count sets of repeating numbers Excel-User-RR Microsoft Excel Worksheet Functions 6 16th Feb 2009 06:14 PM
I want random numbers generated without repeating numbers Johncobb Microsoft Excel Worksheet Functions 4 7th Sep 2006 04:52 PM
Re: Formula for repeating numbers L. Howard Kittle Microsoft Excel Misc 0 23rd Jun 2004 12:09 AM
Re: Formula for repeating numbers Bob Phillips Microsoft Excel Misc 0 22nd Jun 2004 06:23 PM
Re: Formula for repeating numbers JulieD Microsoft Excel Misc 0 22nd Jun 2004 05:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 AM.