Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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?
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default 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?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default 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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help merging excel sheets (2007) on a common field campanellisj Excel Worksheet Functions 1 December 8th 10 07:33 PM
Get part of field name for highest value Lorna_Jane Excel Worksheet Functions 2 December 3rd 09 08:20 PM
Merging two worksheets that have a common field lmirrim Excel Discussion (Misc queries) 4 August 25th 09 04:17 PM
How to make a field created a part of the Pivot Table Field List? drhell Excel Discussion (Misc queries) 0 January 29th 07 11:13 PM
Sum a $ amount in part of a field Sion Romaine Excel Discussion (Misc queries) 1 April 30th 05 05:23 AM


All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"