Skip to main content

How to quickly insert blank column between every other column in Excel?

When we operate a worksheet, sometimes we need to insert some columns between existing columns. But inserting a blank column between exiting columns of data will be a tedious task if you insert each column individually. Are there any quick ways to deal with this problem?

Insert blank columns with VBA code

Quickly insert blank columns with Kutools for Excel


arrow blue right bubble Insert blank columns with VBA code

Please look at the following screenshot, after each columns, I want to insert a blank column to record other information, I can use a brief VBA code to finish this task.

1. Select the range that you want to insert blank columns between the data.

2. Click Developer > Visual Basic, a new Microsoft Visual Basic for applications window will be displayed, click Insert > Module, and input the following code into the Module:

Sub insert_column_every_other()
For colx = 2 To 30 Step 2
Columns(colx).Insert Shift:=xlToRight
Next
End Sub

3. Then click  doc-multiply-calculation-3 button to run the code. And alternate blank columns have been inserted into the existing columns.

Note: This VBA only can insert one blank column between every first column.

If you would like to insert one blank column with two intervals, the above code will not work. And how could you quickly insert the blank columns with specified intervals?


arrow blue right bubble Quickly insert blank columns with Kutools for Excel

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Get it Now.

With the help of Kutools for Excel, you can easily solve this problem. Please do as follows:

1. Highlight the range you would like to insert blank columns.

2. Click Kutools > Insert Tools > Insert Blank Rows/Columns…, see screenshot:

doc-insert-blank-columns2

3. And an Insert Blank Rows/Columns dialog box will appear. Click Blank columns option from Insert type. And input 2 in Interval of, input 1 in Column. See screenshot:

4. Then click OK. And you will insert a blank column with every two interval. See screenshot:

With Insert Blank Rows/Columns function, you also can insert specific number of blank rows with specific intervals between exiting data. Here we insert two blank rows between every second columns, see screenshot:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how to copy coloumns from sl no 1 to 10 and paste to merged rows at a time from sl no 1 to 10 copy and paste in rows ab merge cd merge
This comment was minimized by the moderator on the site
Sadly this Kutools does not work on sheets where multiple tables are used above each other. It would be great if you could update the tool to enable this annoying limitation of Excel. I want to add a new column in the middle of ALL my tables within the document but it doesn't seem to be possible.
This comment was minimized by the moderator on the site
Is there a way to make the height of the blank row different from the height of the alternate row?
This comment was minimized by the moderator on the site
After running the macro You can also insert another column by putting 3 after Step
This comment was minimized by the moderator on the site
Can you please tell me the codes for multiple insertions and deletion of columns ?
This comment was minimized by the moderator on the site
This is related to the VB code modification in the excel where macro is there. Instead of doing change in code can i do it directly in the excel that is adding additional column details in excel between two columns
This comment was minimized by the moderator on the site
This is awesome! it works. great! thanks Asif
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations