Split Multiple Names

Aug 1, 2007

I have and issue where I have name in one cell and need to separate them into 2 cells. Trouble is it is a combination of single names, husband and wife, and partners with different surnames. Sample of data is below:

Belinda Smith & Grant Jones
Janine
Ken & Marie Smith
Louie & Betty Johnson
Naomi Thomsoon & Craig Brown
Narele & Barry Day
Nicholas & Julie Smithson
S M Bole & Co
Jim Morris
Danielle & JohnSimpson

View 9 Replies


ADVERTISEMENT

Split 1st & Last Names & Split Addresses After 1st Comma

Mar 6, 2008

I'm using Excel 2000 and I have a spreadsheet with 4 columns (A-D) and many (500+) rows.

Part 1:
#########################################
Colums A & B both contain identical data - a first name and a last name in the format "John Doe".

I want the second word ("Doe") removed from all cells in Column A so that only the first name remains, and I want the first word ("John") to be removed from every cell in Column B so that only the last name remains.

So, where A1 & B1 both started with the data "John Doe" now A1 contains only "John" and B1 contains only "Doe".
#########################################

Part 2:
####################################################
Column C contains addresses in the format:
"#5 - 123 Fake Street, Some City, CA 90210"

There is ALWAYS a comma and a space after the street address, then the name of the city or town followed by more data which may include one or more commas.

I would like everything BEFORE the first comma to remain in column C, and everything AFTER the first comma & space to be moved into Column D of the same row. The first comma and space are not needed again.

So, where C1 started with "#5 - 123 Fake Street, Some City, CA 90210", it now only contains "#5 - 123 Fake Street" and D1 now contains "Some City, CA 90210".
####################################################

View 6 Replies View Related

Split Names Using Macro

Nov 23, 2007

I have file that may contain about 100 or more rows depending on the request. In column A, i have several names that is seperated by comma in ever row so basically what i want to do is to remove each name and insert a new column and paste the removed name in the new column and keep doing that until only one name is left for each row. I would like the code to check every row until the last row of the file and perform the splitting method that i have mentioned above. Pls. note that some row may contain only one name in this case we don't need to copy and insert new column but if the row contains more that one name then i would like to split it as shown below. I have attached file for details. I really appreciate for your help.

Here is an example of the current issue
Mike, David, John
Eric, Dave
Joe, Johnson, Edward, Ellen
Thompson, Adrienne.........

View 14 Replies View Related

Split Names In List

Sep 8, 2012

In column A of my worksheet I have a list of names (aprox 300) that are shown in the following example..

John Smith
Aron Jones
Sue Hisplof
etc etc

Is there a formula that will place each of the Surnames only in the adjacent column B...so from above list column B would display...

Smith
Jones
Hisplof

View 4 Replies View Related

Split Names From 1 Cell To Many

Dec 16, 2007

Is it possible to copy specific names based on cell content?

For example:
If I have a cell containing text and the names Bob, Mary, Bill,

I would like have a macro read the contents of the cell, find each name "Bob", "Mary", "Bill", then write their names in the first available cells to the right.

ie: If Cell A1 contains Bob, Mary, Bill
write the names in the next available cells ( in any order)

Cell B1 = Bob
Cell C1 = Mary
Call D1 = Bill

It would be great if this can be done within a range..

If anywhere A1:A100 contains the names Bob, Mary, Bill,
to write the names Bob, Mary, Bill ,in their next available cells.

Also, I have a few dozen names that i'll be incorporating in my worksheet which I'm hoping to expand on.

View 9 Replies View Related

Split Multiple Values In A Cell To Multiple Rows?

Mar 4, 2013

if there is a way to split multiple values in a cell to multiple rows. example check the attached sheet, macro/function with in excel etc.

View 2 Replies View Related

Find Formula (find Jobs With Split Names)

Aug 5, 2009

DSee the attached.

The current spreadsheets add up each persons totals by matching the name in each tab with the name of the person who won the job located in current orders tab.

BUT.....If two salesman pair up on up on a job then the formula doesn't recognise the joint name. eg Gary/paul in row 69 (current orders).

I need the totals to half the job and add it to the salesmans total accordingly. There is no 'Paul Tab' as he is our MD and doesnt have a target.

View 5 Replies View Related

Split Worksheet Into Multiple Worksheets

Aug 12, 2009

This code splits a worksheet into multiple sheets (based on sales person in column A). But when it does it, it deletes the sheets and then re-creates them.

However this messes with my formulas I have linked to the split sheets and turns them into #REF! errors.

View 5 Replies View Related

Split Worksheet To Multiple Worksheets?

Mar 1, 2013

I would like to split a worksheet to multiple sheets based on a column header. On browsing through the forums I found the VBA code below.

My problem with is that the code automatically uses only the first column for spiliting into different sheets. But I would like to modify this so that it searches the first row for a matching header specified by me (Eg "Name" , which may be column 10)

Code:
Private Sub PagesByDescription()
Dim rRange As Range, rCell As Range[code]....

View 4 Replies View Related

Split Value In A Cell Into Multiple Cells?

May 6, 2013

Other than using text to column feature, how to split values in a cell to multiple cells. For example; in cell A1 I have something like this:

text1
text2
text3
text4

There is no comma or seperation. What i want to do is:

B1: text1
C1: text2
D1: text3
E1: test4

View 2 Replies View Related

Split Worksheet To Multiple Worksheets

Nov 8, 2008

I have a worksheet that has data in columns A to N. The Salesmans number is in column A and I need to split this first worksheet in to separate worksheets in the same workbook for each salesman.

View 9 Replies View Related

Split A Column Into Multiple Columns

May 4, 2009

The spreadsheet contains over 21,000 rows of data, and one of the columns (D I think) contains data as in the two examples below.

What she wants is to split this column at the semi-colons ( and have the column header as the "field" name.

Unfortunately not all the cells have the same number of "fields" as you can see. Some don't have an "addressLineTwo" while others also have "stateprovince".

Is it possible to split the column so each "field" goes into it's own column?

Please note that if a "field" is missing there is not two semi-colons to indicate an empty field. I'm also fairly certain that, between them the two examples below show all possible fields.

Data Examples.

addressLineOne:Road Belen Staana;addressLineTwo:Costado Oeste;city:SAN ANTONIO DE BELEN;highRate:194;latitude:9.97631;longitude:-84.20038;postal4005

addressLineOne:1766 Homestead Drive;airportCode:ROA;city:HOT SPRINGS;highRate:500;latitude:37.99662;longitude:-79.83079;postal24445;Rating:52;stateprovince:US

Didn't there used to be a "Split" function that split text over two cells? I'm sure I used it years ago, but can't find any mention of it in Excel 2003.

View 9 Replies View Related

Split Cell Into Multiple Rows

Jan 12, 2007

I have a datasheet that has more than 80,000 rows, Current format is:

Coulmn A - Column B
prod1 - <option selected>abc</option><option>def</option><option>ghi</option>

I want it converted into:

Coulmn A - Column B
prod1 - selected
prod1 - abc
prod1 - def
prod1 - ghi

View 3 Replies View Related

Split Workbook Into Multiple Workbooks

May 31, 2007

I'm attempting to take a Workbook that contains 1000 Worksheets and split it into 2 separate WB's of 500 WS's each ... basically half it. This could also apply to a WB that contains less than 1000 WS's, but it is highly unlikely it will ever contain more than 1000 WS's.

I'd like each new WB created to be saved in the original path with the original filename followed by a "1", "2", "3" or "a", "b", "c", etc. For example:
Original Filename = ImpactAnalysis.xls
New Filename 1 = ImpactAnalysis (1).xls or ImpactAnalysis (a).xls
New Filename 2 = ImpactAnalysis (2).xls or ImpactAnalysis (b).xls

I've located 2 modules in the forum that are a good start, but each creates a separate WB for each WS, which is a bit cumbersome with up to 1000 WS's in the original WB.

Sub splittest()
Dim sht As Worksheet
Dim w As Worksheet
Application. ScreenUpdating = False
Application.DisplayAlerts = False
For Each sht In Worksheets
Set neww = Workbooks.Add
sht.Copy neww.Worksheets(1)
With neww .....................

View 9 Replies View Related

Create A List Of Unique Names From A List Of Multiple Names

Oct 21, 2009

I have a database output file where one of the columns contains managers names, often more than once. I want to apply an autofilter on manager name and then copy the result to another sheet or sheets. My criteria for the autofilter is a variable pointing to a list of names that at present I maintain by hand; a for-each-next loop then cycles through the names.

What I would like to do, before running the autofilter code, is to create the list of names via code. This would then automatically pickup names that are missing.

The code I have so far is below:

Public Sub find_managers()
Dim managers1 As Range
Dim names1 As Range
Dim n1 As Variant
Dim n2 As Variant

In my mind it should check the names in the unique list against the imported list and add any missing names.

View 9 Replies View Related

How To Split Data Of A Shipment Into Multiple Rows

Aug 18, 2014

I want to split data of a shipment into multiple rows, based on the a standard pallet quantity

E.G.

1) SKU: 807020450043BATCH: 41826790QTY: 15600
(PALLET QTY 1560)
2) SKU: 807580450044BATCH: 41452190QTY: 5760
(PALLET QTY 576)

I want to split the row by the pallet qty, will result in 10 rows of 1560 / 576 Data will look like this

8070204500434182679015600
807580450044414521905760

View 3 Replies View Related

Split A Cell Of Data Into Multiple Rows?

Mar 22, 2013

I have some data from web-site, when I copy paste these data to Excel is only in 1 cell and i would like to split it into multiple rows by comma.

View 4 Replies View Related

Split Information In One Cell To Multiple Cells?

Jan 13, 2014

I am receiving a new report from an external system. Unfortunate the system delivers many information within one cell, and it is not possible to reconfigure. These information are separate by a semi-colon or a semi-colon + space. separate the information in separate cells?

View 1 Replies View Related

Split Multi-tab Spreadsheet Into Multiple Spreasheets.

Sep 23, 2009

I have a spreadsheet with 40 differents tabs. As an example the first 5 tabs are named as follows:

tab1 name = apples
tab2 name = oranges
tab3 name = beans
tab4 name = pears
tab5 name = grapes

I need to create 40 different workbooks. To continue my example, I need 5 new workbooks as follows

workbook1 name = apples
workbook2 name = oranges
workbook3 name = beans
workbook4 name = pears
workbook5 name = grapes

For each workbook, it only contains the data for that tab.

View 2 Replies View Related

Split Address Blocks Across Multiple Cells

Feb 20, 2006

I have cells of block addresses that are delimited (tab I believe - there's a
small square that appears).

I need to split the addresses out into separate columns for each line of address. I tried using the Text to Columns wizard as suggested by Excel Help, but ended up with only the first line of address being posted in the cell to the right (the rest of the address was nowhere to be seen).

I'm sure I've done this before but can't for the life of me remember how I did it.

View 13 Replies View Related

Split Multiple Comma Separated Columns Using VBA?

Jan 18, 2012

I am supposed to create a macro which will split the comma separated values into rows.

My main constraint is, I have 3 columns of comma separated values.

Let me explain with an example,
I have 5 columns namely:
A B C D E
123 1,2,3 1,2,3 123 1,2,3,4

Once I run a macro it should show like below:

A B C D E
123 1 1 123 1
123 1 1 123 2
123 1 1 123 3
123 1 1 123 4

[Code] .......

View 6 Replies View Related

Split Data In One Column Into Multiple Columns

Jan 26, 2012

I have an address in one cell in excel. Street/City/State/Zip are all separated by two spaces like this: 123 Anywhere St Chicago IL 60607 United States

I want to break them out into separate columns. The "Text to Columns" won't work because there are no commas or dashes separating the data.

View 3 Replies View Related

VBA Code To Split Multiple Customer Rows?

Feb 2, 2012

I currently have a number of data sets relating to customer's and values, eg.

Customer 1 12 12 12 12 12

However within this data set I also have a number of items where different customers have been grouped but are separated with a “/”, eg.

Customer 1 / Customer 2 / Customer 3 12 12 12 12 12

I want to be able to, find these rows, and break them out so that each customer with relating data is on a separate row, eg.

Customer 1 4 4 4 4 4
Customer 2 4 4 4 4 4
Customer 3 4 4 4 4 4

View 7 Replies View Related

Macro To Split Multiple Valued Cell?

May 3, 2012

I have Column D containing multiple values that I need to split. The structure is:

Text Text (XYZ) 123 AB C
Text 456 C
Text Text (RST) 7 A CD EF
Text 22

I'd like is to split the cell using a macro rather than formulae so that the resulting cells can be filtered.

The output would be:

Text Text (XYZ)|123|AB|C
Text|456|C
Text Text (RST)|7|A|CD|EF
Text|22|

So the first split would need to be when the number is reached, the second split after the number and then subsequent splits each time a space is encountered (although there may not be any values after the number!).

View 6 Replies View Related

Split Data Table Into Multiple Tabs?

Jul 12, 2012

I am working with a large table of quite simple data in the following format.

Ref1 SurnameInitialsDOL1 Reference2
Zz719147GLAWSJ07/04/19780271947X
YA414253CDORCE07/04/19870282179F

I need to split up the "master" table so that for all rows where DOL1 falls with a year range of e.g 6th April - 5th April (in any year) then this row is moved or copied into a new tab based on the year range.

i.e. The first row should appear in a new tab for the range 6th April 1978 - 5th April 1979.
The marco should be ale to create and name new tabs. The tab name will be 78_79.

The second row should appear in the 87/88 tab.

I have several thousand rows of data with dates ranging from 1978 - 2012 so there should be tabs populated for every year from 78-2012.

View 6 Replies View Related

Split Cell Data In Multiple Rows

Jul 18, 2006

I was just not able to figure out how to write a macro for splitting the cell data into multiple rows with the other column values being duplicated. Just elaborating my problem, its like i have a column in which i have multiple values separted by a comma, So i need to divide all these values on basis of a comma and then copy this value to a new row below, along with the previous column values same for this new row. in my file cost center column is to be worked upon. Can this be done by a macro ?

View 5 Replies View Related

Split Function: Multiple Spaces Between Two Words

Mar 23, 2007

I am trying to parse a formatted text file. I am using the SPLIT function as

arr() = split(cline," ")

where cline is an input line. if the line input(cline) has multiple spaces between two words, how would it split that.

Eg :

abcd defg fefdcs fasdfasdsa

would the output of above be
arr(0) = abcd
arr(1) = defg
arr(2) = fefdcs
arr(3) = fasdfasdsa

View 8 Replies View Related

Split One Large Dollar Amount To Multiple Cells?

Apr 11, 2014

I have a group trip coming up where we took in a $1000 deposit per person. The total amount is only in the main members cell. There will be two more payment amounts coming. I need to make certain each person has paid the total amount they are required for the trip. There are two possibilities for total trip amount. Double occupancy is $15,500.00 and Triple is $14,500 per person.

There is a unique Identifier for each registrant, except when there is a multiple person under one registration the identifier has all the same number except at the end. I figured out a way to strip the number down to just show the same number in one registered group. There could be up to 10 people under one registration. I might not have the best option for breaking down the Identifier number, but thought it would be a good start. Used the code Left(column, number).

Issue is this. How can I now take the total number of people under one group take the total deposit and split it between just that unique group so I can then determine what is still owed after payments are made.

View 1 Replies View Related

Split Date Into Multiple Worksheets Based On Data?

Mar 12, 2014

We are an office furniture company and we want to hold a master list of all stock. The columns we require are:

Product ID
Product Description
Product Grade
Product Price
Sold

The Sold column would be a YES or NO answer, and based on that I want the data to split into two additional worksheets, one with all the unsold items and one with all the sold items. So really I need to know how to split the data based on whether the line has a YES or a NO in the sold column.

The data needs to update instantly so if I change a product from unsold to sold it then comes off the current available stock tab.

View 3 Replies View Related

Split Data Into Multiple Worksheets Based Empty Row?

Jan 17, 2014

I have tried to split using KuTool and ASAP Tool but they dont work. They can only split base on #of row. Between each of the group of my data, there is a empty row that split them. I want to split every single row from A:H to a new workbook. Why A:H becuz from A1:A8, the A5 is empty. It has to be in range, specify by me, so if the condition is met as empty from A:H, then split from there and keep going on the whole spreadsheet.

View 8 Replies View Related







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