Merge two column in one

G

Guest

I have one huge excel spreed sheet, on the column F is "First Name", on the
column H is "Last Name", example
F H I
Aram Smith Aram Smith

I would like on Column I showing first name last name like "Aram Smith"
How do you doing with macro?

Thanks.

Lillian
 
G

Guest

Why not jsut use a Formula, something like this

=F2 & " " & H2

If you want at the end you can just copy and paste special Column I as
values to remove the formulas and leave the text.
 
G

Guest

Hi Lillian,

Assumes data starts in row 2:

Sub JoinNames()
Dim lastrow As Long, r As Long
lastrow = Cells(Rows.Count, "F").End(xlUp).Row
For r = 2 To lastrow
Cells(r, "I") = Cells(r, "F") & " " & Cells(r, "H")
Next r
End Sub

HTH
 
D

Dave Peterson

=f2&" "&h2


I have one huge excel spreed sheet, on the column F is "First Name", on the
column H is "Last Name", example
F H I
Aram Smith Aram Smith

I would like on Column I showing first name last name like "Aram Smith"
How do you doing with macro?

Thanks.

Lillian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top