Skip to Content

When Merge Cells and Distribute Evenly Collide

February 4th, 2008
Written by David Blatner

Doug wrote:

I have a table with two top rows with 6 columns, and the 4 lower rows with only 4 columns. When I select the two top rows and tell them to ‘distribute columns evenly’ it does it, but when I then select the 4 lower rows and do the same thing, it pulls the columns above out of wack. Even when I go into ‘cell properties’ and tell each column to be exactly 1/6 or 1/4 the width of the table, it does the same thing. All I want is a single table with two seperate column numbers evenly spaced within the table.

We’ve gotten a few people with similar requests recently. Must be something tabular in the air. I know exactly what you mean: It seems like this should be so simple! But unfortunately, it’s not just difficult… it’s impossible!

Here’s the problem: You started with a 6-column table, and then used Merge Cells to create 4 columns down below, right? Or perhaps you had a 4-column table and then used Split Cells to break the top two rows up into 6 columns. Either way, InDesign still thinks you have a 6- or 4-column table under the hood.

You can see this by using the Type tool to drag one of the column or row boundaries — while you’re dragging, all the cells show up as though they weren’t split or merged.

In other words, splitting and merging cells is a fake! A sham! A deceitful counterfeit!

To get the effect you’re looking for, you will likely need to use two tables, one following the next.

twotablesasone

And if you want the tables to look like one (as in the picture above), make sure you open the Table Options dialog box for the second table and set the Table Spacing “Space Before” field to zero (it usually defaults to 4 points, making a space between the table and whatever comes before it).

9 Responses to “When Merge Cells and Distribute Evenly Collide”

  1. Brian said:

    I can’t imagine a situation where two tables doesn’t make more sense, but if you *need* one table, you could always start with a 12-column table and merge accordingly.

  2. Jennie said:

    I always use the method that Brian describes. It can be extended to cover so many different number of column variations quite easily.
    There really was a reason we learned “lowest common denominator” in high school!

  3. David Blatner said:

    Good point about the lowest common denominator trick. But someone else wrote to us recently needing 7 columns followed by 5… which would require… ummm… 35 “real” columns. Less than optimal.

  4. Jennie said:

    I’ve used it! I’m not sure what the largest number of columns was but I think it was in the neighborhood of 80. It takes a little bit of planning, but ID does a great job with the super-sized meals!

  5. Eugene said:

    Am I missing something here?

    I find that rather than setting up a 6 column table start with a two column table. Then split the top two rows into 8 columns. Merge some of the cells to create the 6 columns at the top. Distribute those columns evenly first.

    Then split the cells horizontally below to make the two columns under the rest.

    If you need to resize the table just hold down shift when dragging it out. The table cells remain proportionate.

    The table is created starting with two columns, and then split it up.

    Actually I just created a table starting with 6 rows. I find that once you make the smaller cells even first then merge and divide the remaining cells below first then the cells are even all over.

    And the shift when resizing the whole table works treat.

  6. David Blatner said:

    Eugene, you’re right that this works… as long as you don’t move any columns boundaries! You cannot use Distribute Columns Evenly later on; you’ll never get back to the original state.

  7. Eugene said:

    Admittedly, that is very frustrating indeed.


  8. I Would distribute the six columns, then drag out guides for the four columns and distribute the guides. I would then drag the four columns individually, holding the shift key till they snap to my guides.
    Just another way of doing the same thing. Everyones mind problem solves differently.


  9. What about nested tables?

Subscribe to the Discussion

Get the ongoing discussion surrounding "When Merge Cells and Distribute Evenly Collide" delivered to you. Click here to subscribe via RSS/ATOM.

Leave a Reply

InDesignSecrets reserves the right to edit and/or remove posts and comments.

You can use limited HTML tags, such as <em> for emphasis To type a less-than (left angle bracket) symbol, type "& lt ;" (but without the quotes or spaces between the characters).

Name

Mail (never published)

Website