+ Reply to Thread
Results 1 to 2 of 2

Different Rows and columns per worksheet

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    NY
    MS-Off Ver
    2013
    Posts
    4

    Different Rows and columns per worksheet

    Please refer to the word document attached.

    Hi:

    When you open the attached word document, you will see that:
    1. The first row has 10 columns (in white)
    2. The 2nd has 6 (in White)
    3. The 3rd has 3 (in yellow and grey)
    4. The 4th has 9 etc......

    This was obvious created in WORD.

    Other than copying and pasting into Excel, which doesn't work, how can I create a different amount of columns for each row, in Excel?



    Thanks in advance for you assistance!

    Chaz
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,747

    Re: Different Rows and columns per worksheet

    This is a very tedious task in Excel. It requires merging cells. Unlike Word, in Excel, every row has the same number of columns and every column has the same number of rows. To make it look like the Word version you have to merge cells. The merging must be done pretty much one cell at a time, then you can use the Format Painter to copy the formatting. And merging cells can often cause other problems; most Excel experts advise against merging.

    What is it you are trying to accomplish, and if you have it done already in Word, why do you need it in Excel? Is there any flexibility in this format?

    The technique for doing this is to take your Word file, then everywhere there is a column use a ruler to draw a line up the entire height of the page. The total number of vertical lines you draw will tell you how many columns in Excel you have to use. In your example, it looks like about 21. Fortunately your rows line up so you don't have to repeat that exercise with the rows. Then use the lines you've drawn to guide the merging. On each row, each rectangle bounded by either the pre-existing lines and your drawn lines is a cell in Excel. Highlight the cells in Excel to match the pre-existing lines, and then merge.

    In this example, the dotted lines are drawn. The shaded blocks are groups of merged cells.

    Merging cells to create form.png
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Split worksheet columns into more columns (same worksheet) based on numer of rows
    By Ribka40 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 10:49 AM
  2. [SOLVED] Copying selected cells from multiple rows and columns from worksheet to worksheet
    By janlindgren in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 02:58 AM
  3. How do I reduce the no. of rows & columns in a worksheet ?
    By Anna Walton in forum Excel General
    Replies: 2
    Last Post: 05-30-2006, 12:25 PM
  4. [SOLVED] How Do I create a worksheet with rows and columns
    By airpage in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-19-2005, 12:06 AM
  5. [SOLVED] How Do I create a worksheet with rows and columns
    By Randy in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-18-2005, 10:06 AM

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