Parsing Names In Separate Cells

Oct 23, 2009

a smart formula (no VBA) that will reverse the order of a list of names - parsing into separate columns.

The formula needs to be able to recognize/distinguish that if a comma(s) is present, then the names are listed as last, first middle. If there is a period this means the name has a middle initial or that a suffix is present. So,if the names are listed as last, first and middle then in the next columns will have in the proper order first name, middle name or initial (keep the period) and last name (loosing the comma of course).

If the original name order is in normal order - first middle and last then the formula should just pass through without any change. Would need to preserve generational titles such as Jr., Sr., III etc. Not sure where the best place for the generational titles should end up. Probably as part of the last name. See examples:

Col ACol BCol CCol D Col E
William J. ClintonWilliam J. Clinton
Churchill, Winston Leonard Spencer Winston Leonard Spencer Churhill
Bates, JohnJohn Bates
James Knoll PolkJames Knoll Polk
Taft, William H.William H. Taft
Carter, James, Earl, Jr.James Earl Carter Jr.
Rockefeller, John Davidson, IVJohn Davison Rockefeller IV
Gates, William, H., IIIWilliam H. Gates III
St. James, Michael, Ken Michael Ken St. James
CherCher

I tried using many variations of FIND, SEARCH, LEN and searching all the Excel boards to no avail.

View 9 Replies


ADVERTISEMENT

Separate The First And Lasts Names From One Cell Into Two Cells

May 18, 2008

This is where you introduce yourself? I make lists for my gf's dad's company using excel. One of my most excruciating tasks is to separate the first and lasts names from one cell into two cells. Does anyone know a quicker way to do this other than manually? I have 10,000 names to do and it's going to be hours if I do it by hand.

View 10 Replies View Related

Separate First And Last Names Entered In One Cell Into Two Different Cells

Feb 4, 2009

The database that I'm working on divides patient names into three separate columns: lastName, firstName, midInit. My department has several old spreadsheets that have data my boss suddenly wants included in my database. The trouble is, these old spreadsheets have the patient's last name, first name, and middle initial entered into the same column.

There are at least 200 hundred names in these spreadsheets. I absolutely do not want to go back and separate the names into separate columns by hand.

Is there any way to get Excel to take the names entered into one cell and split them into three cells?

I've attached a spreadsheet example that shows what I need to do.

View 6 Replies View Related

Pasting List Of Names Into Separate Cells

Feb 14, 2013

I have a list of names in a Word doc that is set up like this:

John Doe
Jane Doe
Doug Birch
Mary Birch

Is there a way to copy that list and paste it into Excel and make each name go into its own cell.

Example:
A1 John doe
A2 Jane Doe
A3 Doug Birch
A4 Mary Birch

View 5 Replies View Related

Excel - Parsing Numeric Data From Table Into Separate Columns

Nov 18, 2013

100% Bran Nabisco 70 130 10 5 6

AlI-Bran Kellogg 70 260 9 7 5

All-Bran w/Extra Fiber Kellogg 50 140 14 8 0

I am having trouble parsing the numeric data from the following table into separate columns. The five different numbers (ex. 70, 130,10,5,6 in the first row) represent nutritional info about the product. As you can see, the number length varies for the different categories. How to get these 5 numbers into their own columns using LEFT, RIGHT, MID, FIND, etc. functions.

View 3 Replies View Related

Parsing List Of Inventory Items Into Names And Numbers

Mar 28, 2014

I've got a long list of inventory items. The naming convention of these items is not totally consistent. Below is a representative sample of all the different kinds of names:

1800Brandacom (CLIENTA) 25.00
1800Brandacom 25.00
brandb (Variable)
BrandC-100.00-PL-ALG
brandd variable

[Code] .....

I need to separate out the name of the brand and the number (or if the item says "variable", use a 1 for the number) into two columns, so that the results would be:

1800Brandacom
1800Brandacom
brandb
BrandC
brandd

[Code] ....

and:

25.00
25.00
1.00
100.00
1.00

[Code] ....

For the numbers, I have used this array formula to search for the first letter in the string, and then search for the first number following the first letter, and then return all numbers up to "." Unfortunately this does not work consistently when there is a number in the middle of the brand name or the item has no number.

[Code] ....

For the names I have used this formula, which fails when the name has a "-" in it.

[Code] .....

Any way to extract the names and numbers which would work consistently across all the items!

View 4 Replies View Related

Parsing Cells Into Hyperlinks

May 4, 2006

I'm creating a table to store a large amount of data that will be continously updated over time. The table however will be viewed from a website, not as an Excel document, and I found a great add-in that generates small, clean HTML code to that end.

I'd like to do something else a little more tricky however ( for me ). I'd like every item in the first column to automatically hyperlink to a predesignated URL, and then parse the contents of that cell onto the end of the web address. If the cell contained multiple words, it would parse "+" between each word to create the proper address. The hyperlinks will be fetching database information from an exterior website.

For example, Column1 Row1 might say "Dog", so a hyperlink would be generated to [url] Column1 Row2 might say "Red Corvette", so a hyperlink would be generated to [url]

View 5 Replies View Related

Shade A Cell Red If Two Separate Conditions Apply (in Separate Cells)

Dec 3, 2013

I'm trying to use a formula in conditional formatting to highlight a cell red if the cell contains a 0 but the date shown in another cell has passed. I want to copy the formatting throughout a column but I don't want the cell to highlight if there is no date in the other cell concerned.

View 11 Replies View Related

Splitting Names Into 2 Separate Columns

Apr 11, 2008

I have two columns in my excel sheet, the first column has the Second name, First Name and the second column has the Date of birth.

Now what I'm after is two columns really, the first column should show the Furst name Second Name (space in between with no Comma) and the Second column should show the First Initial from the first name, the first initial from the second name and then the date of birth.

View 11 Replies View Related

Separate Column Of Names Into 2 Columns Of First And Last Name?

Nov 13, 2013

I have a column of first and last names that sometimes look like this: Smith, Michael D and other times look like this Smith, Michael (no middle initial) I would like to separate them into two separate columns, one for First name and the other for last name. I have no use for the middle initial so that can be ignored.

View 4 Replies View Related

Formula Needed To Separate Names From Numbers

Sep 21, 2012

I have a phone list set up as LastName, FirstName PhNum all in a single column. The problem is, some last names have a space, some phone numbers are in the xxx-xxx-xxxx format while others are just an extension like xxxxx.

Example:
Smith, John 519-123-4567
Van Smit, Joe 12345

What can I use in a formula to extract the numbers so that I can end up with 2 columns, one with names, the other with numbers.

View 6 Replies View Related

Separate Names From Dates & Commas In Cell

Mar 26, 2008

I have a file with list of names in the attched file.They are not in the same format coming from the source in my company. I need only the names in the separete column without the dates and the commas. The text is not in the same format. Looking at the data, can someone help me make a formula to separate only the names from the the entry.

the data is huge and it takes lots of hours to clean this data.

I am attachign the excel file for reference.

View 4 Replies View Related

How To Separate Text From Numbers Into Two Separate Cells

Feb 13, 2014

I'm trying to separate text from numbers into two separate cells...

Essentially, I would like the users to copy and paste data into Column A, as seen below. Then, hopefully by formula separate the text characters into Column B and the numbers into Column C.

Input: Output 1: Output 2:

Col A Col B Col C
Wells 123 Wells 123
Wells 1234 Wells 1234
Wells Fargo 123 Wells Fargo 123
Wells Fargo 1234 Wells Fargo 1234
Wells Fargo Inc 123 Wells Fargo Inc 123
Wells Fargo Inc 1234 Wells Fargo Inc 1234

Ideally, I would like to do this with a formula...

View 6 Replies View Related

Lookup Names Within Text And Return That Name To Separate Column If Found

Jun 13, 2013

I'm using a formula to lookup names within text and return that name to a separate column if it's found.

The formula is =INDEX($E$1024:$E$1026,MATCH(FALSE,ISERROR(FIND($E$1024:$E$1026,E1010)),0))

I understand index and match functions, but I'm confused regarding the use of FALSE as the lookup value and the iserror(find( usage.

View 2 Replies View Related

Linking Cells Globally To Allow Users Ability To Change Cells On Separate Sheet / Cells?

Feb 18, 2014

I have a workbook that uses the values that a user had entered into 3 cells to calculate multiple other charts/diagrams on multiple sheets within the workbook. Each sheet would show what the user had entered in the 3 cells to allow them to see what is being used to calculate each table. Is it possible to link these cells so that the user can change the 3 values without having to go back to where he originally entered the 3 values?

For example, a user has entered in 3 values in Sheet 1. A formula in Sheet 2 displays what is entered by the user and uses these calls in Sheet 2 for calculations. When the user wants to change the three values, he would have to navigate to Sheet 1 and enter in the new values to have the workbook recalculate all the tables. Is there a way to link the three cells from Sheet 1 and Sheet 2 so when the user is on Sheet 2, he has the opportunity to change the values on the current Sheet without having to navigate to Sheet 1 to do so?

View 1 Replies View Related

Match Names In Two Separate Column If Equal Then Pull Info In 3 Column?

Dec 6, 2013

I need to look up the name in E2 in the list in column A and if it matches then lookup name in F2 in list column b, if it matches then the corresponding number in column C is displayed in column G. If neither names are in the 2 columns the words"Not on lists" is displayed in cell in column G.

The other problem is one name is spelled two different ways I want it to look for both spelling before moving on to looking up the second name.

I started with this formula but I'm getting #N/A or "not on list" when they are on the list. I'm using ranges prod_sum is columns AthruC, Last_name is range BthruC. =IF(AND(VLOOKUP(F4,prod_sum,3,0),VLOOKUP(I4,last_name,2,0)),"not on list")

View 6 Replies View Related

Separate In Deferent Cells

Jan 21, 2009

when i copied data from text to excel it becomes all in one cell ,how can i separate in deferent cells ,file attached

View 3 Replies View Related

Match 2 Separate Cells To A Table?

Nov 5, 2009

I would like a formula that will take the info from 2 cells (not adjacent to each other or in the same row) and then look these up in a table giving the answer in the 3rd column somewhere else on the worksheet.

View 5 Replies View Related

Adjustable Rows Via Separate Cells

Dec 10, 2013

Need to adjust the length of a countif formula from a separate cell

something like this ?

=COUNTIF($BB$23:$BBH21),">0")

H21 being the cell i will change value to indicate rows

View 2 Replies View Related

Separate Table From Rest Of Cells?

Dec 16, 2013

Im using a table so I can sort diffrent catagories and I'm trying to put other functions to the right of the table I noticed as I change the sort on the table is moves the information outside the table as well is there a way to seperate that information or do I just need to move it above my table?

View 2 Replies View Related

Updating Cells In Two Separate Worksheets

May 14, 2014

I need to find a way of updating cells in two separate worksheets. The cell address can vary.

Right now I am using a "button" which when clicked updates the cell value by an increment.

View 3 Replies View Related

Separate Text From One Cell Into Other Cells?

Feb 21, 2014

Is it possible to that the contents of a single cell and and place text of that cell into separate cells? From a web output I have some like the following in my first cell

asdfsdf|adkjoi|fdf234sd|fsf3ie43|||asdfjlkei393|dfjvie|d||adfjei|...goes on with 28 "|"

The text is in A1 and I would like it to take the first string of characters up to the | and place it into cell A2

Then take the next set of characters up to the next | and place into cell A3 and so on.

Once the cell in A1 has been completely separated, go down to the next row and do the same until it reaches the end of the data.

Normally I would create a text file with the web data and then import that in with "|" delimited fields but I don't want to create that extra step for the user.

View 7 Replies View Related

Alphabetize Separate Cells Of Data In Same Row

Nov 30, 2009

I have a worksheet with 6,500 rows of data. In each row, there are up to 6 cells containing a name in "Last, First" format. I need to alphabetize the data from these 6 cells so they go across the row in order left to right, alpha by last name.

Example of my data layout:

Column 1 Column 2 Column 3
Row 1 Jackson, Bob / Anderson, Lisa / Cardinal, Mike
Row 2 Tomlinson, Steve / Dodge, Sarah / White, Brian


I need them to be in this order:

Column 1 Column 2 Column 3
Row 1 Anderson, Lisa / Cardinal, Mike / Jackson, Bob
Row 2 Dodge, Sarah / Tomlinson, Steve / White, Brian


Is there a formula I can apply that will pull from only the portion of the data before the comma in each cell? Or do I need to separate out all of the names so the first and last names are in separate columns for this to work?

View 14 Replies View Related

Macro To Separate String Into Three Cells

Nov 17, 2011

Is there any way to create a macro for the following:

I have the following format

First Name MI Last Name in Column A.

Sometimes there is a space on the last name for someone with a last name Mc Cormick (for example)

Also, sometimes the list of names is short and sometimes the list of names is long. Is there a way to get a "universal" macro in place, that will not depend on the number of names in the list but will be able to detect when the list ends?

So far I was able to run the macro to get them from text-to-column into cells A, B, and C. However, the middle column sometimes contains the last name if there isn't a middle initial. I need a way to test the middle column for more than one character. If there is more than one character, it is a last name and needs to be in the third column.

View 7 Replies View Related

Separate And Delete Date Into New Cells

Jan 25, 2012

I have a table that I've imported into excel. Below are 2 samples of the information in the cells..

A1 = T(APPLICANT_1_RECENT_PROPERTY_TYPE_DESCRIPTION)/V(Unspecified)
A2 = T(APPLICANT_1_RECENT_PROPERTY_TITLE)/V(U)

Basically I would like to separate into 3 columns as such

From A1;
B1 = APPLICANT_1_
C1 = RECENT_PROPERTY_TYPE_DESCRIPTION
D1 = Unspecified
From A2;
B2 = APPLICANT_1_
C2 = RECENT_PROPERTY_TITLE
D2 = U

When Importing I can't use delimited or fixed width. I can do this with Find and Replace and copying cells, but thought there might be a more savvy way to do this.

View 6 Replies View Related

Isolate XY Coordinates In Separate Cells

Sep 17, 2013

I have a cell in F2 that looks like this...

513 BLUE RIDGE
Kansas City, MO
(39.104810141000485, -94.47983043799968)

I need to isolate the coordinates in separate cells. IE "39.10481014000485" in cell J2 & "-94.47983043999968" in cell K2. The problem is that some of the cells don't have 14 numbers behind the decimal, and my formula will sometimes grab either the comma ( "," ) or the end parenthesis ( ")" ). Is there a formula I can use to isolate the two coordinate plots?

The good thing is every cell is formatted exactly like this. I had been using a formula that looks like this.

=MID(F2,FIND("(",F2)+1,18)

I think it's close. I just cant figure out how to tell the formula to stop at the first comma, and to stop at the end parenthesis for the second set of coordinates.

View 5 Replies View Related

How To (save As) Using Data From 2 Separate Cells

Sep 23, 2013

The current macro I have allows me to save 'sheet 2' as the name in cell sheet1 B2, which is a 6 digit number. I now want it to save as data from 2 cells, sheet1 B2 followed by sheet1 B1, which is job name (eg. 112233 microsoft excel).

This is the current formula I have:

Public Sub saveworkbook()
Dim filename1 As String
Sheets("Sheet2").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=2, Collate:=True, _
IgnorePrintAreas:=False
Sheet1.Select
filename1 = Range("b2")
ActiveWorkbook.SaveAs filename:= _
"C:UsersAndrew.SDocumentsInterloc DocumentsHardware Sheets" & filename1
End Sub

View 2 Replies View Related

Separate Text And Numbers Into Two Different Cells?

Jan 11, 2014

I want to separate the text and numbers into two different cells. Basically, I have the entire drawing details in one cell and I need to split it up, e.g. I have:

KEEP PLATE 902 4 0002

STOOL 525 4 0199

PACK PLATE 525 4 0200

PACK PLATE 525 4 0201

PACK PLATE 525 4 0202

View 8 Replies View Related

Printing Name And Time In Separate Cells

Apr 30, 2009

In my Workbook, Sheet 1 i have Cells B2, C2, D2, H2 all with Name, Age, M/F and Fastest time,
on Sheet 3 i have Cells A4, B4 with Under 20 Male and Time.

What i want to know is how do i go about searching the Age and M/F cells and printing the names of the people who fit the criteria ( for under 20 male it would be males aged 16, 17, 18 and 19) into A4 and their time into B4

to make it worse i want to order the times/names in fastest to slowest time .

i can get half way there but i cant seem to get the formula to pick up on >=16 and

View 9 Replies View Related

Extracting Words In Separate Cells

May 27, 2006

I need a formula which would from one cell extract the words in separate cells. I have probelms because the words in the sentence in the starting cell are not separate by spaces but dots. For example: How.do.I.extract.words.from.this.sentence?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved