Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help merging excel sheets (2007) on a common field | Excel Worksheet Functions | |||
Get part of field name for highest value | Excel Worksheet Functions | |||
Merging two worksheets that have a common field | Excel Discussion (Misc queries) | |||
How to make a field created a part of the Pivot Table Field List? | Excel Discussion (Misc queries) | |||
Sum a $ amount in part of a field | Excel Discussion (Misc queries) |