ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Merge two column in one (https://www.excelbanter.com/excel-programming/352782-merge-two-column-one.html)

lillian

Merge two column in one
 
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


Don Guillett

Merge two column in one
 
=f2&" "&h2

--
Don Guillett
SalesAid Software

"Lillian" wrote in message
...
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




Jim Thomlinson[_5_]

Merge two column in one
 
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.
--
HTH...

Jim Thomlinson


"Lillian" wrote:

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


Toppers

Merge two column in one
 
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

"Lillian" wrote:

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


Dave Peterson

Merge two column in one
 
=f2&" "&h2



Lillian wrote:

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


--

Dave Peterson


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com