Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-05-2016, 06:41 PM
dpic44's Avatar
dpic44 dpic44 is offline Split data from name field Mac OS X Split data from name field Office for Mac 2011
Novice
Split data from name field
 
Join Date: Feb 2016
Posts: 8
dpic44 is on a distinguished road
Default Split data from name field

I need to extract the first name, middle initial and last name from a cell. I am able to extract all of them when there is a middle initial, however I get an error if the name has no middle initial. Attached is a spreadsheet with my formulas.

Thank you for any help you can give me.

FORMULAS
First Name Formula =LEFT(A7,FIND(" ",A7))
Middle Initial =IFERROR(MID(A9,FIND(".",A9)-1,2),MID(A9,FIND(" ",A9)+1,2))
Last Name Formula =IFERROR(RIGHT(A7,LEN(A7)-FIND(".",A7)-1),RIGHT(A7,LEN(A7)-FIND(" ",A7)-2))

RESULTS
Full Name First Name Middle Initial Last Name
Jeffrey R. Evers Jeffrey R. Evers


Robert R Gains Robert R Gains
Deborah Harris Deborah Ha rris

* Error - Works if middle initial has a period or if middle initial has no period, doesn't work if there is no middle initial
Attached Files
File Type: xlsx Left,Mid,Right Formulas.xlsx (47.5 KB, 11 views)

Last edited by dpic44; 02-05-2016 at 07:59 PM. Reason: Added formulas
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to split merged data into vertical saperate cells cheekugreat Excel 5 10-11-2014 05:53 AM
Split data from name field How to format WORD data using edit field? Azuki Mail Merge 2 04-01-2013 06:08 PM
Merge field source data field kckay Mail Merge 4 03-25-2013 11:06 AM
Split data from name field Mail Merge - If a field is black, take the data from the row below? mikeprent Mail Merge 5 01-05-2012 04:52 AM
Split data from name field Split Data from One Cell Into Two Karen615 Excel 3 09-20-2011 06:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft