All values are preserved while merging cells

Source: Internet
Author: User

A merged cell is a command that users use when making a table, and it can be used to beautify multiple cells as a single cell.

In general, if you combine several cells that contain data, Excel prompts you to "when you merge cells, if more than one of the selected cells contains data, Excel preserves the data in the upper-left cell and deletes all remaining data." "As shown in Figure 1.

Figure 1 Tips for Excel when merging multiple cells with data

This in many cases will make users feel embarrassed, the merger will lose data, affect the calculation of the data, and do not merge can not take into account the aesthetic. The following methods break through the limitations of Excel, preserving all values while merging cells. Assuming the table shown in Figure 2, you now need to merge a1:a4 and A5:a8 separately.

Figure 2 Table to merge cells

Select C1:C4 and click the Merge and center button in the toolbar. The same method merges the cells c5:c8, as shown in Figure 3.

Figure 3 Merging cells by the size of the destination area in a blank range of cells

Select C1:c8, click the Format Painter button in the toolbar, and then click A1 to format the copy. The result is shown in Figure 4. In this process, Excel does not show any warning.

Figure 4 Copy the format of the blank area to the target area

To verify that the merged cells retain their original data, you can use the formula in the D column to refer to the calculation and enter the formula in the D1:

=a1

Then drag to D8 for formula replication. The result is shown in Figure 5.

Figure 5 All values are preserved after merging cells

Note : More wonderful tutorials Please pay attention to the triple computer Tutorials section, triple Office group: 185219299 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.