+ Reply to Thread
Results 1 to 4 of 4

Function in Excel to separate rows in equal intervals?

  1. #1
    Registered User
    Join Date
    04-28-2013
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    93

    Function in Excel to separate rows in equal intervals?

    Hi,

    Is there any function or a smart way to separate rows in Excel in equal intervals? Say I have column data and I want 10 empty rows between each observation. Thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    11-15-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    538

    Re: Function in Excel to separate rows in equal intervals?

    One manual approach that could fit if this is a one time deal is to pick an unused column and type FOO in one cell, then right below that enter
    =IF(MOD(ROW(),11)=0,1,0)
    and copy down. Highlight (select) from FOO to the last value. Then go alt-d/f/f to create an autofilter. Pop open the triangle and click on 1. Now only every 11th row appears. You could now type in your observations easily in every 11th row.

    Another way would be to forget all that and type or paste in the observations in A2:A99. Then
    B1=IF(MOD(ROW(),11)=0,OFFSET($A$1,INT(ROW()/11),0),"")
    and copy down. Then highlight column B and copy, and paste special as values. Clear out column A and you're done.
    Chip, if you can read this, you're STILL making the world a better place with your immeasurably valuable gifts. Every week, you continue to help me (and untold numbers of others) tremendously. Practically no alternative outlets can match your effectiveness, even over the vast number of topics you demystify and empower usage of. You were, and still are, amazing.

  3. #3
    Registered User
    Join Date
    04-28-2013
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Function in Excel to separate rows in equal intervals?

    Thank you for your reply! I've tried to do it both ways you suggested but without success. In the first case, I create the column FOO and everything is ok, but when it comes to the filter I cannot make every 11th row to appear. When I open the triangle, the following options appear:

    Sort smallest to largest
    Sort largest to smallest
    Sort by color


    Number filters
    and then there is the rectangle with
    Select all
    0
    1

    and all these are tick-ed.

    However, I cannot make only the 11th row to appear.

  4. #4
    Registered User
    Join Date
    04-28-2013
    Location
    Stockholm
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Function in Excel to separate rows in equal intervals?

    I did it

+ 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