Cập nhật thông tin chi tiết về How To Merge And Split Tables And Cells In Microsoft Word mới nhất trên website Trucbachconcert.com. Hy vọng nội dung bài viết sẽ đáp ứng được nhu cầu của bạn, chúng tôi sẽ thường xuyên cập nhật mới nội dung để bạn nhận được thông tin nhanh chóng và chính xác nhất.
You can easily merge and split cells in Microsoft Word to make your tables more interesting and more suited to the data you are trying to share. When you merge two or more cells, you are bringing them together in one cell. When you split a cell, you are dividing it from one cell into multiple cells.
You can merge and split tables on the individual cell level, as well as on the larger, table-wide level. In this article, I’ll show you how to merge and split table cells and tables in Word.
How to Merge Cells in a Word Table
Merging cells in a table combines two or more adjacent cells of the same size into one larger cell.
First, select the cells you want to merge. They can be adjacent cells in a row or column.
Or they can be adjacent cells that span multiple rows and columns.
Advertisement
Either way, your cells are now merged.
How to Split Cells In A Word Table
Splitting table cells in Word is only slightly more complicated than merging them. You can use the split command to one or more cells into a set number of rows and columns. Here’s how it works.
Let’s first say that we just one to split a single cell into two cells. First select the cell you want to split.
And that cell we selected is now two cells.
Advertisement
As you probably guessed from the options in that Split Cells window, you can also get a little more complex with cell splitting. Let’s say we had a table like the one shown below. And we want to take those selected cells (the ones in gray under the second column header) and turn them into two big rows of three columns each.
When we hit “OK” the table turns out just like you’d expect.
And obviously, this is just a quick look. You can get just about as complicated with your table layout as you’d want.
How to Split a Table in Word
You can split an entire table in Word. This can be useful for splitting long tables into two separate tables—mostly in hopes of dealing with formatting issues that multi-page tables can sometimes cause.
Advertisement
Your table is now split into two tables.
How to Merge a Table in Word
And as you might expect, you can also merge tables together. There’s no button on the menu for this one, though. You have to do it by dragging and dropping.
Drag the table until its top row aligns with the bottom row of the table you’re merging into.
When you release your mouse button, Word merges the two tables.
Now you know how to easily merge and split tables and table cells in Microsoft Word. Of course, like with any other Word feature, this one takes some playing with. Especially if you’re doing complex merges and splits (or merging together long tables), formatting can sometimes get a little weird.
How To Merge Cells In Word 2022 Tables
The steps in this guide are going to show you how to merge two or more cells in a table that you have created in your Microsoft Word document.
Select the Layout tab at the top of the window, to the right of Table Design.
In fact, you may have even merged cells in Microsoft Excel before, which likely led you to look for a way to merge cells in Word. Fortunately you have the ability to select cells in a Microsoft Word table, then take those selected cells and combine them into one large single cell. Our guide below will show you how to merge cells in Word and help you achieve your desired table formatting.
How to Merge Table Cells in Microsoft Word 2016
The steps in this article were performed in the Microsoft Word for Office 365 version of the application, but will also work in other recent versions including Microsoft Word 2016 and Microsoft Word 2019.
Step 1: Open your document containing the table with cells that you wish to merge.
Step 4: Drag your mouse to select the rest of the cells to include in the merge. I am merging the top row of my table in the image below, as indicated by the gray fill color appearing in those cells.
Step 5: Select the Layout tab to the right of the Table Design tab at the top of the window.
Step 6: Choose the Merge Cells option in the Merge section of the ribbon.
How to Unmerge Cells in Word 2016
Now that you know how to merge cells in Word tables, it’s also helpful to know how to undo that merge in case you accidentally merge the wrong cells, or discover that you need to change your layout.
Word handles this with a Split Cells tool. This allows you to select the merged cells in your table, then specify the number of rows or columns that the merged cells should be split into.
Step 1: Select the merged cell that you wish to split into multiple cells.
Find out how to add space between your Word table cells if it seems like the data in your cells is too close to the data in surrounding adjacent cells.
Disclaimer: Most of the pages on the internet include affiliate links, including some on this site.
How To Merge Tables With Power Query
Bottom Line: Learn how to merge tables or queries in Power Query to look up data and return matching results. This is similar to a Vlookup or Join where a relationship is created between two tables.
Skill Level: Intermediate
Video Tutorial
Download the Excel File
You can practice merging tables using the same Excel file that I use in the video. Download it here:
Overview
We received a great question from a member of the Excel Campus community, Bill Evans, who wanted to know how to take data from two tables that are formatted differently and combine them into a single sheet using Power Query.
The answer involves using the Merge (or join) feature in Power Query. It basically creates a relationship between two tables to look up data and return matching results.
This is similar to what a VLOOKUP can accomplish with a formula. However, Power Query allows us to automate this entire process, along with any other data cleanup work, and is less prone to formula errors.
If you are looking to combine data by stacking tables together, that is called an Append. You can learn how to append tables in this post: How to Combine Tables with Power Query.
If all of this is sounding a little over your head because you are somewhat new to Power Query, take a break from this post and head over to my Power Query Overview. That will give you a better understanding of how and why it’s used. And this tutorial will walk you through installing Power Query.
Step 1: Create a Connection to the Lookup Table
To join two tables, we want to start by creating a connection-only query for the table that we will be looking up. Usually, when a query is run, it outputs the result in a new table in the workbook. But for this step, we just want to create the connection without creating a new output table. Here’s how:
This brings up a preview of your data. To create a connection:
Select Close & Load To…
That brings up the Import Data window. From here, select Only Create Connection.
Step 2: Use the Merge Feature to Join the Tables
Once we’ve established a connection for the lookup table, we can merge it with the data from another table. This other table does not have to be in the same workbook. It could be from another workbook, a CSV file, a webpage, a database, or some other source.
In this example we will use a Table in Excel as the source.
To create a query for that source, start by going to the Data (or Power Query) tab and selecting From Table/Range.
On the Home tab of the Ribbon, select Merge Queries. This brings up the Merge window.
First, in the top part, you can select the column that you want to use for merging.
Then, in the middle, you select the table that you want to merge your data into.
Finally, in the lower section, you will choose the matching column. For my example the columns that we are using to merge both contain the customer ID numbers.
You can leave the Join Kind field as Left Outer. The Left Outer join will return all of the rows from the first table, and only the matching rows from the second table.
At the bottom of the window you’ll see the numbers of rows that were matched. In this case it says “The selection matches 221 of 306 rows from the first table.” This means that some rows from the orders table did not have a matching ID in the customers table. It’s ok for now and we’ll look at how to fix it below.
We can go ahead and press OK.
You may notice that some of the tables have rows that say “null” and when you close and load your query, those cells are blank. This is because when you merged the two tables, Power Query was unable to find some of the data in the source table.
You’ll notice that all of the new columns have headers that begin with the name of the table it came from. That can get a little annoying, so if you want to avoid that, just uncheck the box that says Use original column name as prefix.
Updating the Data
In order to fix the null entries, you can just add the appropriate rows to the lookup table, and then refresh the query.
Going forward, if you make any additions or deletions to the source table(s), a simple refresh of the query will instantly update the output table.
Free Training Webinar on the Power Tools
Right now I’m running a free training webinar on all of the Power Tools in Excel. This includes Power Query, Power Pivot, Power BI, pivot tables, macros & VBA, and more.
It’s called The Modern Excel Blueprint. During the webinar I explain what these tools are and how they can fit into your workflow.
You will also learn how to become the Excel Hero of your organization, that go-to gal or guy that everyone relies on for Excel help and fun projects.
Using this process in this post, two tables that have different column headers are joined together. This is not a VLOOKUP, but it accomplishes the same thing as a VLOOKUP using Power Query instead.
With Power Query we are able to automate the entire data import and cleanup process, which can save you a ton of time and help reduce errors.
How To Format Microsoft Word Tables Using Table Styles
Apply and Modify Table Styles in Word Documents
Applies to: Microsoft ® Word ® 2013, 2016, 2019 or 365 (Windows)
You can apply table styles to your Word tables to format them quickly and consistently. Word is shipped with several built-in table styles or you can create your own. You can edit table styles by modifying borders, shading, character formatting, paragraph formatting and table properties. If your document includes multiple tables, table styles can save a lot of time.
Note: Buttons and Ribbon tabs may display in a different way (with or without text) depending on your version of Word, the size of your screen and your Control Panel settings. For Word 365 users, Ribbon tabs may appear with different names. For example, the Table Tools Design tab may appear as Table Design.
Recommended article: How to Keep a Microsoft Word Table Together on One Page
Table styles and themes
Every Word document uses a document theme which includes a font theme and color theme. The colors used in table styles are based on the color theme.
You can select document themes, color themes and font themes using the Themes, Colors or Fonts drop-down menus on the Design tab in the Ribbon:
Turning gridlines on
When you are working with tables, it’s a good idea to turn gridlines on. Borders, which are a format, will print. Gridlines do not print.
To turn on gridlines:
If your Word document contains multiple tables that you want to format in a consistent way, it’s best to use table styles rather than applying manual or direct formatting to each table.
To apply a table style to a table:
Hover over the various table styles. The table formatting will change as you move over different table styles in the gallery.
Below is the Table Styles gallery (the current theme is the Office theme):
Selecting Table Style Options
Once you have selected a table style, you can select different Table Style Options (which are affected by the formats in the table style).
To select Table Style Options:
In Table Style Options, check or uncheck Header Row. If this option is checked, the header row will be formatted differently from the body rows.
In Table Style Options, check or uncheck Total Row. If this option is checked, the last row will be formatted differently from the body rows.
In Table Style Options, check or uncheck Banded Rows or Banded Columns for alternate row or column shading.
In Table Style Options, check First Column or Last Column if you want the first or last column formatted differently from the other columns.
You can modify a table style in a Word document and all tables using that table style will change.
To modify a table style:
From the Apply Formatting to drop-down menu, select the element that you want to modify (such as Header row).
Select the desired formatting such as font, font size, font color, fill and border.
From the Apply Formatting to drop-down menu, select the next element that you want to modify.
Select the desired formatting such as font, font size, font color, fill and border.
Repeat for other elements.
Select Only in this document or New documents based on this template. If you select Only in this document, the modified style will only be available for the current document. If you select New documents based on this template, then the table style will be modified for future documents based on the current template (usually the Normal template).
Below is the Modify Style dialog box:
You can also modify Table Properties in a table style. Table properties include table alignment, row settings and cell margins.
To modify Table Properties in a table style:
Select any other formatting options you want to apply to the entire table.
Select Only in this document or New documents based on this template.
Below is the Table Properties dialog box with the Table tab selected:
You can also create a new or custom table style.
To create a custom table style:
Enter a name for the new table in the Name box.
Select the desired formatting.
Select Only in this document or New documents based on this template.
New Table Style appears at the bottom of the Table Styles gallery:
Clearing a table style
To clear a table style and remove formatting:
Clear appears at the bottom of the Table Styles gallery:
You can also set a default table style for new tables in the current document or all new documents.
To set a default table style:
Select This document only or All documents based on the chúng tôi template (the default template in Word is the Normal template).
If you are working with documents with multiple tables, formatting with table styles can ensure that your tables are formatted consistently and save a lot of time.
Did you find this article helpful? If you would like to receive new articles, join our email list.
More resources
10 Microsoft Word Tips, Tricks and Shortcuts for Selecting in Tables Microsoft Word Tricks to Keep Text Together (Words, Lines or Paragraphs) 14 Shortcuts to Quickly Select Text in Microsoft Word
Related courses
Bạn đang xem bài viết How To Merge And Split Tables And Cells In Microsoft Word trên website Trucbachconcert.com. Hy vọng những thông tin mà chúng tôi đã chia sẻ là hữu ích với bạn. Nếu nội dung hay, ý nghĩa bạn hãy chia sẻ với bạn bè của mình và luôn theo dõi, ủng hộ chúng tôi để cập nhật những thông tin mới nhất. Chúc bạn một ngày tốt lành!