Split By Last Deliminator

Jan 2, 2013

I have long list of data (asett IDs). All of it is in the following format.

AA-BB-CC-CC001

The number of dash occurrences can vary based on the level the asett is located in. I need to extract the parrent of the asett to adjacent column. the parrent for the above example would be:

AA-BB-CC

The parrent is the values before the last "-". There can be as many as 10 "-"s and as little as 1 in the asett ID.

I have been looking at the split and trim functions in excel but I have not been able to define split/trim by last "-".

View 6 Replies


ADVERTISEMENT

Parse Left Text With Deliminator

Apr 17, 2009

I have the following entry in A1

email_yshot_20081222

I want a formula to parse the text based on the "_" deliminator so email is in B1, yshot is in C1 and 200081222 is in D1.

View 9 Replies View Related

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 Numbers And Split Words

May 8, 2009

How do I split numbers!

I have two problems/challenges!

Part I...
I got the answer 1987, and now I want Excel to take the numbers out and display...
1 in one box then i set + in the next, then 9 in the 3ed. box, next box +, then 8, then +, then 7 in the last so that i can have Excel make a SUM of it all to 25.

How do I split 1987 and put the numbers in different boxes?

Part II...
I want to make A=1 B=2... all the way up to 9, then start over again with J=1 K=2... up to 9 again and then over again.

So that if I write my name it comes out as a value of 14 (Odd = O=6 D=4 D=4 =14)

(AJSØ=1 BKTÅ=2 CLU=3 DMV=4 ENW=5 FOX=6 GPY=7 HQZ=8 IRÆ=9, It's the Norwegian alphabet, that's why there are some extra letters)

So how do I set up my Excel so that is ANY name is typed in I can get it out into a number from the values assign?

View 14 Replies View Related

Split Data In A Cell And Get The Value For The Split Data From A Different Table

Jul 31, 2006

Here's my problem. I have a cell where there are many data strings seperated by ",". Each data string has a seperate value of its own like for e.g:
A2: aa,ab,ac

String Value
aa 1
ab 1
ac 3

What I want it accomplish is that, split the A2 cell into the different data string entities seperated by ",", then get the corresponding value of each of the data string entity, and to take the average of all the values of the different data string entities.

View 9 Replies View Related

Split Quantity Onto One Row Each?

Mar 30, 2014

I have a table like this:

QTY PRODUCT
---------------------
1 AB111
3 CC332
2 DA221

Is there a way to display that information on another sheet so that each individual product is on its own line with a QTY of one? I can do it with VBA but was wondering if there is an alternative?

QTY PRODUCT
---------------------
1 AB111
1 CC332
1 CC332
1 CC332
1 DA221
1 DA221

View 8 Replies View Related

Split The Range..

Dec 22, 2008

I was multiplying 2 ranges in an formula to get a cell's value. The first was a set of user inputs and the second was an array of constants. Recently I needed to add another field in the middle of the user inputs which subsequently broke the range.

View 4 Replies View Related

Split The Text..

May 10, 2009

I have in one column first name space and then surname. I want to divide it into two columns 1 for the first name and 2 for the surname.

View 2 Replies View Related

Cell Getting Split Up

Feb 3, 2014

I have a very long HTML code that i am using for a description of something on our website, when i save the file in CSV format the HTML gets cut up and put into different cells on different lines ... the file needs to be saved in CSV format.

View 1 Replies View Related

Split Name Into Its Components?

May 29, 2014

I need a routine that splits a cell with a name into its various components.

For example: split the name Johnny Jones and place Johnny into a different cell, and place Jones into yet another cell.

View 10 Replies View Related

Split File

Dec 15, 2008

QB03654338AGLQLD210/06/2007 0:0014/02/2008 0:00
QB03654338AGLQLD215/02/2008 0:0010/04/2008 0:00
QB03654338AGLQLD219/08/2008 0:0031/12/9999 0:00

to this:

QB03654338AGLQLD210/06/2007 0:0014/02/2008 0:0015/02/2008 0:0010/04/2008 0:0019/08/2008 0:0031/12/9999 0:00

So adding it to all to one line if it is the same ID number "QB03654338". See the attached file.

View 2 Replies View Related

Split Worksheets

Jul 1, 2009

In column A of a spread sheet I have lots of entries in this format:

admin_staff_a_002
admin_staff_a_006
admin_staff_1_010
admin_staff_1_003
admin_staff_b_005
admin_staff_z_007
admin_staff_z_001

What I need to achieve is to have a different worksheet containing all the rows for admin_staff_a then another for admin_staff_1 etc.

I want to name each of the worksheets a, 1 etc so i'd remove the admin_staff bit and the _003 bit

View 3 Replies View Related

(Excel 2k) Using Split

Jul 7, 2009

One of my three active brain cells isnt functioning today, so I need some help.

I am trying to use the "split" function but cant seem to get it working.

The variable sWbName is "MOT 4506667 C 142 #JN #SN.xls".

View 6 Replies View Related

How Do I Split A String Twice?

Nov 17, 2009

So I have strings like the one below. What I'm looking for the text behind the ":" being, 17-SEP-2009, 000737-EWO, SRS and finally 002-YAO

Example string:

date: 17-SEP-2009, number:000737-EWO, detail: SRS, DD:002-YAO

My ...

View 8 Replies View Related

Split Function..?

Jan 19, 2010

One of the lines in my VBA code reads as follows

View 4 Replies View Related

Split Cell Into Two

Dec 27, 2011

I have a list of fixtures but each cell lists the teams in each game ... i.e.

CSKA Moscow v Real Madrid (in one cell)

List example....

CSKA Moscow v Real Madrid (Cell 1)
Leicester v Portsmouth
Leyton Orient v Charlton
Liverpool v Newcastle
Lyon v Apoel Nicosia
Man City v Liverpool

I want to split these cells so CSKA Moscow is in cell B1 and.... Real Madrid is in cell C1 etc.

View 5 Replies View Related

Split Row Into 2 Rows IF - VBA

Jun 11, 2013

I am putting together a macro that takes hours worth of work away by doing all the calculations and splitting.

I have managed to do all the basic stuff but this is a little more complicated.

My spreadsheet has a couple of thousand rows of data, i need the macro to check for the following:-
If DATA14 (Column N) = YES and RATE (Column D) = 21.81

I need this line splitting into two to replace the original. (would be better if i could move the original data to another sheet to show the ones that have been split)

One with 87% of the rate
One with 13% of the rate (Data8 will always = OLHA on this row)

Then the total will be recalculated based on the new rate.

View 1 Replies View Related

How To Split A String

Feb 25, 2014

Is there any way to split this string so I get Letter number number number in seperate cells?

|A533|B15A|C025|D205|E240|F036|G450|H166|P210|V123|W60C|X257|X264|Y108|Y233|Y288|Y426|Y428|Y432|

View 2 Replies View Related

How To Set Conditions Before Using Split

Jun 14, 2014

Extract text between two points

Using "Split":

Code:
Public Sub Test1()
Dim oTarget As Range
Dim oCell As Range
Set oTarget = ActiveSheet.Range("A2:A2043")
For Each oCell In oTarget
oCell.Offset(0, 4).Value = Split(Split(oCell.Value, "Date_stamp:")(1), "Payment_made:")(0)
Next oCell
End Sub

I have dumped data from emails into Excel 2010 in cells A2:A2043 and I'm spliting it for ease of viewing but I need the code to check if the cell contains a specific string and if skip to the next cell if it doesn't. For instance when the customer hasn't made a payment it will skip as there isn't anything to split after that point and continue spliting if they answered Yes.

Examples are:

Customer_Number: 11338849

Invoice_Period: 30/06/13

Attendance_type: Group

BookingDate_stamp: 03/07/2013

[code].....

I would have extracted directly from Outlook but that's a different problem for another day at this stage, so I wan't to carry on from where I am. Also, how am I going to extract that last date Can I Split between "Payment_date:" and the end of the cell?

View 9 Replies View Related

Percentage Split

Apr 23, 2008

I have the following cells:

A1: the percentage difference between cost1(D1) and cost2(C1)
B1: total product cost (C1+D1)

I need a formula that no matter if the %diff increases or decreases this would reflect in C1 and D1 (so basically C1+D1 would always add to B1 but with the split of % in A1)

View 9 Replies View Related

Split A Date Out

Aug 8, 2008

I have a spreadsheet with thousands of dates in this format:

Tuesday 16 September 11am - 4.30pm

What I need to do is split it out so that I end up with a cell with

16.11.08

and another cell with the time string.

I am not sure the best way to go as the day part of the string will be different lengths, as will the other parts, plus I will need to add the year in.

View 9 Replies View Related

Split Workbook Into Many

Sep 25, 2008

I have to split workbook into many workbooks, based on Column A, where are up to 10 dif. values(3 digits). Sample:

First 20 are 390
Next 55 112
Next 5 186
etc.

And the values are every day different and changing. But they're not longer than 3 digits.

I need macro that creates a directory, renames it into date, and puts split workbooks in it. Is it extremely hard?

Similar topic:
HTML http://www.mrexcel.com/forum/showthread.php?p=1694856#post1694856

View 9 Replies View Related

Split To Columns

Feb 1, 2009

i have in col A using 2007 these examples .

10. * 7x7 Showmed'cash (7) 3g b
5. * 08x90. Bean Rock (10) 6g b
8. * 31 Thenaia (12) 3f b
11. * Stormy Masika (9) 3g b

I have managed using text to cols separateting info inside the brackets and to the right .
Also the numbers very left .

My problem is there arnt any more things to use in text to cols to separate examples 7x7 Showmed'cash , 08x90. Bean Rock , etc .

View 9 Replies View Related

Split Series

Mar 16, 2009

I want to split a column series as per its left three 3 digits into different columns as example given below....

View 9 Replies View Related

Split Cell Into 2

Sep 17, 2009

I have a column with info like

name - name

as in (column a): frank - john

I want to split that into 2 cells(columns) and drop the -, what is the best way ?

so now column b would have frank and c would have john.

View 9 Replies View Related

Split Range As Per Qty

Jan 7, 2010

Kindly see mentioned below table, I want to know that how should a macro split range in col a as per its count, if in each box contains qty 500, as result shown in cols d, e, and f which I did manually by writing Level, qty and box#.

View 12 Replies View Related

Split The Contents

Aug 30, 2006

I have a column with adresses.
Cell A1 contents Road 12
Cell A2 contents Street 555
Now i want to split the content.
In cell A1 Road and in cell B1 12
In cell A2 Street and in cell B2 555.
Is there a macro that can do that?

View 9 Replies View Related

Split Date With VBA

Nov 15, 2006

in column A, I have a date like 11.15.2006 .I want to write 11 to column B, 15 to column C and 2006 to column D. How can I manage with VBA?

View 3 Replies View Related

Split Columns Into 1

Apr 2, 2007

Excel 2003

I have one column with a date and on the same row 12 other columns with nos

How can I convert this to 2 columns - first date and 2nd the no

View 9 Replies View Related

VBA Code To Split The Last Letter

Aug 5, 2012

I am looking for a very simple thing. A VBA code to split last letter of a column to the column after (offset 1). For ex. if K column contains "SEKWPRTY6" then "6" should be in L column and "SEKWPRTY" should stay in K column still. I tried this code but it gives "Invalid procedure call or argument"

VB:

Sub SplitAvail()
Dim rng As Range
For Each rng In Range("k1", Range("k" & Rows.Count).End(xlUp))
rng(, 2).Value = Right$(rng.Value, 1)
rng.Value = Left$(rng.Value, Len(rng.Value) - 1)
Next
End Sub

View 2 Replies View Related







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