I need a text formula that take the name in cell A2 (John Smith) and a number in cell B2 1234 and combine them in cell c2 JS1234
Essentually taking the First letter of the first and last name and the number and combining them.
Thanks
JP
I need a text formula that take the name in cell A2 (John Smith) and a number in cell B2 1234 and combine them in cell c2 JS1234
Essentually taking the First letter of the first and last name and the number and combining them.
Thanks
JP
Last edited by CharterJP; 12-08-2010 at 03:05 PM.
Numerous possibilities (pending consistency of name convention of course)
Based on the above:
Please Login or Register to view this content.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Hi,
Try the following:
This will only fail if the person's name is a single name. It will work to take the last name, so if you have John Van Dermeer ... it would take JD.PHP Code:
=UPPER(LEFT(A2,1))&MID(A2,FIND("~",SUBSTITUTE(A2," ","~",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))+1,1)&B2
S
------------------------------------------------------------------------------------------
If you need no more help on the current problem, please mark it as "Solved". It saves time
as many of us will look at threads if they are not marked as "Solved".
The instructions on how to do this are found in the Forum Rules thread that is at top of every forum.
(Currently you'll have to look at point #9.)
------------------------------------------------------------------------------------------
Thanks, Works great!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks