+ Reply to Thread
Results 1 to 4 of 4

MARK EVERY FOURTH ROW

  1. #1
    lehigh46
    Guest

    MARK EVERY FOURTH ROW


    HI ALL,

    In column A, I have consecutive numbers 1 thru 7,000

    In column B, I would like to write a formula and copy it down to show
    a number 1 on every fourth line .

    How can I accomplish this?


    Thanks for your help.

    Tom Snyder


    x-- 100 Proof News - http://www.100ProofNews.com
    x-- 3,500+ Binary NewsGroups, and over 100,000 other groups
    x-- Access to over 1.6 Terabytes per Day - $8.95/Month
    x-- UNLIMITED DOWNLOAD


  2. #2
    N Harkawat
    Guest

    Re: MARK EVERY FOURTH ROW

    Assumng the range is between A1:A7000
    on cell B1 type the following and copy it all the way down
    =if(mod(row(),4)=0,"",1)

    This will copy the number 1 on ever 4th row in column B

    "lehigh46" <[email protected]> wrote in message
    news:[email protected]...
    >
    > HI ALL,
    >
    > In column A, I have consecutive numbers 1 thru 7,000
    >
    > In column B, I would like to write a formula and copy it down to show
    > a number 1 on every fourth line .
    >
    > How can I accomplish this?
    >
    >
    > Thanks for your help.
    >
    > Tom Snyder
    >
    >
    > x-- 100 Proof News - http://www.100ProofNews.com
    > x-- 3,500+ Binary NewsGroups, and over 100,000 other groups
    > x-- Access to over 1.6 Terabytes per Day - $8.95/Month
    > x-- UNLIMITED DOWNLOAD
    >




  3. #3
    Domenic
    Guest

    Re: MARK EVERY FOURTH ROW

    Try the following...

    For every fourth line, starting with the first cell...

    B1, copied down:

    =IF(MOD(ROW()-ROW($B$1)+0,4)=0,1,"")

    For every fourth line, starting with the first occurrence of 'fourth'...

    B1, copied down:

    =IF(MOD(ROW()-ROW($B$1)+1,4)=0,1,"")

    Hope this helps!

    In article <[email protected]>,
    lehigh46 <[email protected]> wrote:

    > HI ALL,
    >
    > In column A, I have consecutive numbers 1 thru 7,000
    >
    > In column B, I would like to write a formula and copy it down to show
    > a number 1 on every fourth line .
    >
    > How can I accomplish this?
    >
    >
    > Thanks for your help.
    >
    > Tom Snyder
    >
    >
    > x-- 100 Proof News - http://www.100ProofNews.com
    > x-- 3,500+ Binary NewsGroups, and over 100,000 other groups
    > x-- Access to over 1.6 Terabytes per Day - $8.95/Month
    > x-- UNLIMITED DOWNLOAD


  4. #4
    Don Guillett
    Guest

    Re: MARK EVERY FOURTH ROW

    try this
    Sub every4throw()
    For i = 1 To Cells(Rows.Count, "a").End(xlUp).Row Step 4
    Cells(i, "b").Offset(0, 1) = 1
    Next i
    End Sub

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "lehigh46" <[email protected]> wrote in message
    news:[email protected]...
    >
    > HI ALL,
    >
    > In column A, I have consecutive numbers 1 thru 7,000
    >
    > In column B, I would like to write a formula and copy it down to show
    > a number 1 on every fourth line .
    >
    > How can I accomplish this?
    >
    >
    > Thanks for your help.
    >
    > Tom Snyder
    >
    >
    > x-- 100 Proof News - http://www.100ProofNews.com
    > x-- 3,500+ Binary NewsGroups, and over 100,000 other groups
    > x-- Access to over 1.6 Terabytes per Day - $8.95/Month
    > x-- UNLIMITED DOWNLOAD
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1