Microsoft Excel is an excellent choice for creating a small database for storing information such as employee records, test scores, or even small inventory items.
In some scenarios, we want to copy data from one column to the other or even another sheet.
In such cases, you may want to copy the data and paste it as is, including copying the column widths.
However, when we copy the data from one column to another, the column widths do not carry over.
Instead of adjusting the column width manually, let me show you a better way to copy and paste data.
In this tutorial, I will show you different methods of copying data, where it also copies the column widths.
Method 1: Copying Column Width Using the Context Menu
In this method, we will look at how we can copy data, spanning over multiple columns, including the column width, using the context menu.
This menu appears when you right-click over a cell.
As an example, I will use the following dataset, which shows the position and annual salary of employees working in a company.
Below are the steps to copy the dataset along with the column width:
- Select the entire dataset as shown.
- Right-Click anywhere inside the selected text to bring up the context menu as shown.
- From this context menu, select Copy.
- Now right-click on the cell where you want to copy this data (cell E1 in my example). Right-clicking will show the context menu.
- In the context menu, hover your mouse cursor over the arrow icon next to the Paste Special option.
- The following sub-menu will appear.
- From this sub-menu, click on the Keep Source Column Widths option under the Paste section (as shown below).
- The final result will look like the one shown below.
You can see that the data copied in columns E, F, and G have the same column width as the original data in columns A, B, and C.
Also read: Get Text to Fit in Cell in Excel
Method 2: Copying Column Width Using the Home Tab Toolbar
In this method, we will see how to copy data, including the column widths using the toolbar available under the Home Tab.
We will use the same dataset as we did in the previous method.
Here are steps to do this:
- Select the entire dataset as shown.
- Click on the Home Tab.
- Under the Home Tab, click on the Copy button.
- Select cell E1 (where I want to paste the copied data).
- Under the Home Tab, click on the little arrow under the Paste option (as shown below).
- This will bring up the Paste options menu as shown.
- From the Paste options menu, click on the Keep Source Column Widths option under the Paste section.
- The result will look like the one shown below.
You can see that the copied data has the same column widths as the original data. This is similar to what we saw in the first method as well.
Also read: How to Make Excel Columns the Same Width
Method 3: Copy Column Width Using the Paste Special Options Menu
In this method, we will see how we can copy data, including column widths using the Paste Special options menu.
Once again, we will use the sample dataset, which was used in the previous methods as well.
- Select the entire dataset as shown.
- Click on the Home Tab.
- Under the Home Tab, click on the Copy button.
- Select cell E1 as shown.
- Under the Home Tab, click on the little arrow under the Paste option (as shown below).
- This will bring up the Paste Options menu (as shown below).
- From the Paste Options menu, click on the Paste Special option.
- The Paste Special window will appear as shown.
- Select the Column Widths option.
- Click on OK.
- The end result will look like the one shown below.
Unlike the previous methods, you can see that this method has only copied the column widths and not the data.
If you want to copy the data as well, you will have to do that additionally. For that, follow the additional steps below.
- Select the original data as shown.
- Press ‘Ctrl + C’ on your keyboard to copy the data.
- Select cell E1 as shown.
- Press ‘Ctrl + V’ on your keyboard to paste the copied data.
- The result will be as shown.
In this method, we saw how to copy the column widths only (without copying data). If we want to copy the data as well, we have to perform additional steps in order to do that.
Method 4: Copy Column Width Using the Column Width Option
In this method, we will use the Column Width option, which is available through the context menu for copying column widths.
Let’s see an example using the sample dataset used in the previous methods.
- Select the entire dataset as shown.
- Press Ctrl + C on your keyboard to copy the data.
- Select cell E1 as shown.
- Press ‘Ctrl + V’ on your keyboard to paste the copied data.
- The result will be as shown.
You can see that the data has been copied, but the column width has not.
- Right-Click on the top of the first column from the original dataset. In this case, this is column A.
- From the Context Menu that appears, select the Column Width option.
- The Column Width window for column A will appear as shown.
- Note down the value shown against the Column width field. In this case, it is 19.29.
- Press the OK button to close the window.
- Right-click on the top of the first column of the copied data. In this case, it is column E.
- From the context menu that appears, click on the Column Width option.
- The Column width window for column E will appear as shown.
- In the Column width field, type the value noted previously in step 9. In this case, this was the column width value of column A i.e. 19.29.
- Click the OK button.
- The result will look like the one shown below.
As you can see, the width of column E is now the same as that of column A.
- Repeat steps 6 to 16 for the other columns as well so that the result looks like the one below.
So in this tutorial, I showed you different methods of copying column widths.
In the first two methods, the column width, along with the data, is copied. Use the first two methods if you want to copy data in addition to the column width.
In the third method, only the column width is copied. Use this method if only the column width needs to be copied while leaving out the data.
This may be useful if you want to enter new data on a new column or sheet and just want the column widths to match.
The fourth method is helpful if you want to keep the column width the same for data that is similar in multiple excel files.
If you have data in separate files, then noting down the individual column widths from one file and changing them in the other will allow you to keep the same visual feel across both files.
If you simply want the width of two columns to match, method 4 is the most useful.
Other Excel articles you may also like:
- How to Copy and Paste in Excel Without Changing the Format? 5 Ways!
- Paste Values in Excel (Shortcut)
- How to Paste in a Filtered Column Skipping the Hidden Cells
- How to Copy Row Height in Excel
- How to Copy Multiple Sheets to a New Workbook in Excel
- How to Copy Formatting In Excel
- How To Set Column Width in Inches (or Centimeters) in Excel?
- Autofit Column Width in Excel (Shortcut)
Super helpful!! Thanks for this!