Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carey Abercrombie
 
Posts: n/a
Default Formatting Question

Can you take first/last names in a column and automatically format them to
initials for redacting purposes?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Formatting Question

Assuming the First and Last names are separated by a "space".....

=LEFT(A1,1)&MID(A1,FIND(" ",A1,1)+1,1) will give you the first character
of each name......

="?"&MID(A1,2,FIND(" ",A1,1)-1)&"?"&MID(A1,FIND(" ",A1,1)+2,99) will return
both names separated by a space, but with the first character of each name
replaced with a question mark.

Vaya con Dios,
Chuck, CABGx3



Vaya con Dios,
Chuck, CABGx3



"Carey Abercrombie" wrote:

Can you take first/last names in a column and automatically format them to
initials for redacting purposes?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Formatting Question

On Thu, 23 Feb 2006 08:25:16 -0800, "Carey Abercrombie" <Carey
wrote:

Can you take first/last names in a column and automatically format them to
initials for redacting purposes?


Sorry, small error in previous formula. Should be:

=REGEX.MID(I1,"\b\w")&REGEX.MID(I1,"\b\w",REGEX.CO UNT(I1,"\b\w+"))


--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carey Abercrombie
 
Posts: n/a
Default Formatting Question

WOW, THANKS VERY MUCH. EXACTLY WHAT I NEEDED.
CAREY

"CLR" wrote:

Assuming the First and Last names are separated by a "space".....

=LEFT(A1,1)&MID(A1,FIND(" ",A1,1)+1,1) will give you the first character
of each name......

="?"&MID(A1,2,FIND(" ",A1,1)-1)&"?"&MID(A1,FIND(" ",A1,1)+2,99) will return
both names separated by a space, but with the first character of each name
replaced with a question mark.

Vaya con Dios,
Chuck, CABGx3



Vaya con Dios,
Chuck, CABGx3



"Carey Abercrombie" wrote:

Can you take first/last names in a column and automatically format them to
initials for redacting purposes?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carey Abercrombie
 
Posts: n/a
Default Formatting Question

PERFECT. EXACTLY WHAT I NEEDED.
THANKS,
CAREY

"Ron Rosenfeld" wrote:

On Thu, 23 Feb 2006 08:25:16 -0800, "Carey Abercrombie" <Carey
wrote:

Can you take first/last names in a column and automatically format them to
initials for redacting purposes?


Sorry, small error in previous formula. Should be:

=REGEX.MID(I1,"\b\w")&REGEX.MID(I1,"\b\w",REGEX.CO UNT(I1,"\b\w+"))


--ron

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
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Pivot Tables lose some formatting when Updated Jugglertwo Excel Discussion (Misc queries) 1 March 23rd 05 12:48 AM
Formatting Question Kent Excel Worksheet Functions 1 March 1st 05 06:26 PM
Area Chart Formatting Question Avrilon Charts and Charting in Excel 3 December 2nd 04 09:14 PM


All times are GMT +1. The time now is 01:41 PM.

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"