Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Use Len and Left to make name 3 letters

The last name is in Column C and the first name is in Column A. I need to
make a new column with the first 3 letters of the last name. If the last name
is 2 letters, the last letter needs to be a Z. (Example: Bo, it needs to be
BoZ). Also need to add the first initial of the first name.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Use Len and Left to make name 3 letters

Assuming that the last name will always be at least 2 characters long:

=IF(LEN(C1)2,LEFT(C1,3)&LEFT(A1),C1&"Z"&LEFT(A1))

--
Biff
Microsoft Excel MVP


"Darlie Mary" wrote in message
...
The last name is in Column C and the first name is in Column A. I need to
make a new column with the first 3 letters of the last name. If the last
name
is 2 letters, the last letter needs to be a Z. (Example: Bo, it needs to
be
BoZ). Also need to add the first initial of the first name.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Use Len and Left to make name 3 letters

=LEFT(C1&"Z",3)&LEFT(A1)


"Darlie Mary" wrote:

The last name is in Column C and the first name is in Column A. I need to
make a new column with the first 3 letters of the last name. If the last name
is 2 letters, the last letter needs to be a Z. (Example: Bo, it needs to be
BoZ). Also need to add the first initial of the first name.

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
How to use LEN & LEFT on last name to show only 3 letters Darlie Mary Excel Worksheet Functions 4 July 25th 08 01:52 AM
How do I make Word Art fade from left to right? eddismydog Excel Discussion (Misc queries) 1 July 4th 08 05:19 AM
how to make left side stay still and right side can move left to r AAS Excel Discussion (Misc queries) 1 May 27th 08 09:50 PM
Make left-to-right default direction hmm Excel Discussion (Misc queries) 1 March 18th 08 03:37 PM
Make left-to-right the default hmm Charts and Charting in Excel 0 March 11th 08 04:46 PM


All times are GMT +1. The time now is 01:17 AM.

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

About Us

"It's about Microsoft Excel"