+ Reply to Thread
Results 1 to 3 of 3

Need to segregate the column into groups of three and introduce a blank row between them.

  1. #1
    Registered User
    Join Date
    06-24-2014
    Location
    india
    MS-Off Ver
    2010
    Posts
    2

    Need to segregate the column into groups of three and introduce a blank row between them.

    Hi,

    I have a cloumn of around 2000 numbers. I want to segregate that column into groups of three rows with a blank cell between each group.
    Below is the illustration.
    I have a column like this below. It just is not 10 but 2000!
    Column A
    1
    2
    3
    4
    5
    6
    7
    8
    9
    0

    And I want to output to be llike this:

    Column A
    1
    2
    3

    4
    5
    6

    7
    8
    9

    0

    can anypne please help me with this??

    Thanks in Advance

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440

    Re: Need to segregate the column into groups of three and introduce a blank row between th

    Hi,

    Will this do it for you?

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    06-24-2014
    Location
    india
    MS-Off Ver
    2010
    Posts
    2

    Re: Need to segregate the column into groups of three and introduce a blank row between th

    HI Sweep,

    Thanks for the reply. I had used the below code and it worked for me. But your is much better as it takes account of the number of rows too.

    For i = 4 To 1000 Step 4
    Rows(i).Select
    Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
    Next
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I add a blank row before data groups during import of CSV
    By Aussiexile in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2014, 06:32 PM
  2. Inserting a blank Row based on column groups
    By OLBaID in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 04:32 PM
  3. [SOLVED] Identify and Segregate Duplicates via VBA
    By spiwere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-09-2013, 05:02 AM
  4. [SOLVED] Sum groups of numbers in first blank cell
    By Bleu_808 in forum Excel General
    Replies: 2
    Last Post: 05-01-2006, 06:28 PM
  5. [SOLVED] Introduce new column using VBA macros
    By Swamy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2005, 09:35 AM

Tags for this Thread

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