ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Merging part of one field with another field (https://www.excelbanter.com/excel-programming/303968-merging-part-one-field-another-field.html)

Jason Ritthaler

Merging part of one field with another field
 
I'm trying to merge part of one field with another field.

What I have is 3 columns. Column A = First Name, Column B
= Last Name, Column C = Shortname.

Example. Column A = Jason, Column B = Ritthaler, Column C
= JRitthaler. I'm taking the first letter of column b,
and combining it with Column C.

Is there a way to program this so it will automatically
populate column C?

No Name

Merging part of one field with another field
 
I wrote the wrong thing for the example
.. I'm taking the first letter of column A, and all of
column B and combining them into Column C
-----Original Message-----
I'm trying to merge part of one field with another field.

What I have is 3 columns. Column A = First Name, Column

B
= Last Name, Column C = Shortname.

Example. Column A = Jason, Column B = Ritthaler, Column

C
= JRitthaler. I'm taking the first letter of column b,
and combining it with Column C.

Is there a way to program this so it will automatically
populate column C?
.


Frank Kabel

Merging part of one field with another field
 
Hi
in C1 enter
=LEFT(A1,1)&B1

--
Regards
Frank Kabel
Frankfurt, Germany


Jason Ritthaler wrote:
I'm trying to merge part of one field with another field.

What I have is 3 columns. Column A = First Name, Column B
= Last Name, Column C = Shortname.

Example. Column A = Jason, Column B = Ritthaler, Column C
= JRitthaler. I'm taking the first letter of column b,
and combining it with Column C.

Is there a way to program this so it will automatically
populate column C?


Peter Beach

Merging part of one field with another field
 
Hi Jason,

How about a spreadsheet formula like:

IF(AND(LEN(A1)0,LEN(B1)0),LEFT(A1,1)&B1,"")

Just copy it down for more cells than you are ever likely to have and you
will see the merged name appearing as soon as you enter data in cols A and
B.


All times are GMT +1. The time now is 10:55 PM.

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