Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula to return initials of a name
I am using Office 2003 on Windows XP.
I need a formula that will return the first two initials of a name in a cell. For example, if the name "John Smith" or "john smith" is entered in a cell, I need the formula in another cell to evaluate to "JS". This only needs to work for the first two names in the cell, for example: "John Henry Smith, Jr." or "J. H. Smith" or "j h smith" should return "JH". Any assistance would be much appreciated. Thanks in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula to return initials of a name
=UPPER(LEFT(A1,1)&MID(A1,FIND(" ",A1)+1,1))
"quartz" wrote: I am using Office 2003 on Windows XP. I need a formula that will return the first two initials of a name in a cell. For example, if the name "John Smith" or "john smith" is entered in a cell, I need the formula in another cell to evaluate to "JS". This only needs to work for the first two names in the cell, for example: "John Henry Smith, Jr." or "J. H. Smith" or "j h smith" should return "JH". Any assistance would be much appreciated. Thanks in advance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula to return initials of a name
One way:
=UPPER(LEFT(A1, 1) & MID(A1, FIND(" ",A1)+1,1)) In article , quartz wrote: I am using Office 2003 on Windows XP. I need a formula that will return the first two initials of a name in a cell. For example, if the name "John Smith" or "john smith" is entered in a cell, I need the formula in another cell to evaluate to "JS". This only needs to work for the first two names in the cell, for example: "John Henry Smith, Jr." or "J. H. Smith" or "j h smith" should return "JH". Any assistance would be much appreciated. Thanks in advance. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula to return initials of a name
Thanks!
"JE McGimpsey" wrote: One way: =UPPER(LEFT(A1, 1) & MID(A1, FIND(" ",A1)+1,1)) In article , quartz wrote: I am using Office 2003 on Windows XP. I need a formula that will return the first two initials of a name in a cell. For example, if the name "John Smith" or "john smith" is entered in a cell, I need the formula in another cell to evaluate to "JS". This only needs to work for the first two names in the cell, for example: "John Henry Smith, Jr." or "J. H. Smith" or "j h smith" should return "JH". Any assistance would be much appreciated. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Changing initials into numbers | Excel Worksheet Functions | |||
Need Period After Initials | Excel Worksheet Functions | |||
Create initials from Full name | Excel Discussion (Misc queries) | |||
How to pluck out initials of a 2 or 3 word name | Excel Worksheet Functions | |||
Returning User Initials | Excel Programming |