Combining Multiple Columns Into First Column In Excel || Excel Tips & Tricks

Combining Multiple Columns Into First Column In Excel || Excel Tips & Tricks

In this tutorial, let us learn Combining Multiple Columns into First Column in Excel

Sometimes you have a need to concatenate cells together.

Like, If we want to combine these columns into a single column, we generally use the concatenate function. But if we have too many columns and number of columns vary in each row, it would be a tedious job and difficult to execute.

So, let us do this using a small trick by using the VBA code.
Now, go to the VBA window and insert a module.

Copy this code and paste it into the module.

Sub combineTogether()
Dim FirstCol As Integer, FirstRow As Integer
Dim ColCount As Integer, RowCount As Integer
Dim ThisCol As Integer, ThisRow As Integer
Dim J As Integer, K As Integer
Dim MyText As String

FirstCol = ActiveWindow.RangeSelection.Column
FirstRow = ActiveWindow.RangeSelection.Row
ColCount = ActiveWindow.Selection.Columns.Count
RowCount = ActiveWindow.Selection.Rows.Count

For J = 1 To RowCount
ThisRow = FirstRow + J – 1
MyText = “”
For K = 1 To ColCount
ThisCol = FirstCol + K – 1
MyText = MyText & Cells(ThisRow, ThisCol).Text & ” ”
Cells(ThisRow, ThisCol).Value = “”
Next K
MyText = Trim(MyText)
Cells(ThisRow, FirstCol).Value = MyText
Next J
End Sub

Now go back to the Excel sheet and select the cells C4:I7 that you want to combine and go to view tab and under macro select the combinetogether macro and run it.

You can see that the contents of all the cells are combined into the first cells of the column and other cells are cleared.
It is very easy and quick right.

So, friends this is all about Combining Multiple Columns into First Column in Excel

I hope you have enjoyed this tutorial, If yes, please do give me a like, share and comment.

For Personalized detail learning, write to

If you found this video valuable, give it a like. If you know someone who needs to see it, share it. Leave a comment below with your thoughts. Add it to a playlist if you want to watch it later.

★ My Online Tutorials ►


Subscribe for more Awesome Tutorials:

Support the Channel via shopping:

Tools that I use for Vlogging:
• Laptop:
• Canon 200D Camera:
• Benro Tripod:
• Blue yeti microphone:
• Collar Microphone:
• Bluedio Headset:
• Screen recorder:
• Boom Arm Stand:
• Zoom H1 Audio Recorder:
• Harison Softbox Studio Lights:
• Chroma Key Green Screen:
• Background Support Stand:
• Acoustic Foam Background:
• USB RGB LED Strip:
• Wireless Mouse:

Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!


You Can Connect with Me at:


Tags: –
excel formulas in English, excel in English, excel tutorial in English,ms excel in English,ms excel tutorial in English, learn excel in English,vlookup in excel in English, learn ms excel in English, excel training, excel tutorial, Microsoft Excel 2007, learn excel,tutorial excel, ms excel tutorial, excel tutorials,ms excel 2007,Microsoft Excel training,learn excel online,learning excel,free excel training,online excel training,advanced excel tutorial,excel tutorial, excel formulas and functions, excel formulas, excel tutorial in Hindi, excel formulas and functions in Hindi, excel tricks, excel in Hindi, excel shortcut keys, excel vlookup, excel formulas in Hindi, excel for beginners, excel for accounting, excel formulas and functions tutorial, Excel Sum Formula, Sum Formula series, excel attendance sheet, excel salary sheet, excel stock maintain, excel data entry, advanced excel tutorial,excel formulas,excel tutorial,vlookup excel,excel accounting,excel for beginners,excel shortcut keys,excel sum formula,excel training,excel training online,excel tricks,free excel training,learn excel,learn excel online,microsoft excel training,attendance sheet in excel,excel data entry,excel formulas and functions,microsoft excel 2007

Leave a Reply

Close Menu