Hi,
Can someone help me please?
In column A of row 1 I have one column with a long line of text containing information in that should be separated into cells for the
following fields:
Year, make, model, drive, part, name, phone, text, email, location, notes, stream, date/time, disclaimer
Here is an example of the text in column A:
Year: 2001 Make: Nasa Model: big spaceship Drive: Automatic 2 Wheel Drive Spaceship: 4 12.7 Liter \----------------------------- Part: Hood \----------------------------- Name: Malcolm Jaegger Phone: 3195553361 Text: Yes Email: malcolmjaegger@hotmale.com Location: Chicago, Louisiana 71527 Notes: Thank you for using our excel forum! thesmartestpeopleever.com Team Stream: \-------------------------------------- Date/Time:February 7, 2014, 1:28 PM By reading this email you agree to the Terms and Condtions set forth by thesmartestpeopleever.com. You agree not to eat, drink, reproduce or alter this information for bitcoins to leprechauns.
The data in each field can be different lengths, and I would like to take pieces of text out of Column A, and put it in other columns in the row.
Each field has its own column, and I would like to copy the data for that field from the column containing all data to its respective column.
=MID(A1,SEARCH("Year:",A1)+5,SEARCH("Make:",A1)-SEARCH("object",A1)+5)
The formula above was inspired by an "extract text between two strings" post, but will not work.
I tried to make a formula that would extract everything between the strings "Notes:" and "Team Stream:" or for example, so I could get the result "Thank you for using our excel forum! thesmartestpeopleever.com" or "Year" and "Make" so I could get the result "2001" if using the example above. I was not able to do it.
How do I separate/extract each columns data to the appropriate column?
I believe you can do this with both formulas and vba functions. If you can give me any help with the formula I would greatly appreciate it. Thanks in advance,
[TABLE="width: 500"]
<tbody>[TR]
[TD]Main data[/TD]
[TD]Year[/TD]
[TD]Make[/TD]
[TD]Email[/TD]
[TD]Text[/TD]
[/TR]
[TR]
[TD]Year: 2001 Make: Nasa Model: big spaceship Drive: Automatic 2 Wheel Drive Spaceship: 4 12.7 Liter \----------------------------- Part: Hood \----------------------------- Name: Malcolm Jaegger Phone: 3195553361 Text: Yes Email: malcolmjaegger@hotmale.com Location: Chicago, Louisiana 71527 Notes: Thank you for using our excel forum! thesmartestpeopleever.com Team Stream: \-------------------------------------- Date/Time:February 7, 2014, 1:28 PM By reading this email you agree to the Terms and Condtions set forth by thesmartestpeopleever.com. You agree not to eat, drink, reproduce or alter this information for bitcoins to leprechauns.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can someone help me please?
In column A of row 1 I have one column with a long line of text containing information in that should be separated into cells for the
following fields:
Year, make, model, drive, part, name, phone, text, email, location, notes, stream, date/time, disclaimer
Here is an example of the text in column A:
Year: 2001 Make: Nasa Model: big spaceship Drive: Automatic 2 Wheel Drive Spaceship: 4 12.7 Liter \----------------------------- Part: Hood \----------------------------- Name: Malcolm Jaegger Phone: 3195553361 Text: Yes Email: malcolmjaegger@hotmale.com Location: Chicago, Louisiana 71527 Notes: Thank you for using our excel forum! thesmartestpeopleever.com Team Stream: \-------------------------------------- Date/Time:February 7, 2014, 1:28 PM By reading this email you agree to the Terms and Condtions set forth by thesmartestpeopleever.com. You agree not to eat, drink, reproduce or alter this information for bitcoins to leprechauns.
The data in each field can be different lengths, and I would like to take pieces of text out of Column A, and put it in other columns in the row.
Each field has its own column, and I would like to copy the data for that field from the column containing all data to its respective column.
=MID(A1,SEARCH("Year:",A1)+5,SEARCH("Make:",A1)-SEARCH("object",A1)+5)
The formula above was inspired by an "extract text between two strings" post, but will not work.
I tried to make a formula that would extract everything between the strings "Notes:" and "Team Stream:" or for example, so I could get the result "Thank you for using our excel forum! thesmartestpeopleever.com" or "Year" and "Make" so I could get the result "2001" if using the example above. I was not able to do it.
How do I separate/extract each columns data to the appropriate column?
I believe you can do this with both formulas and vba functions. If you can give me any help with the formula I would greatly appreciate it. Thanks in advance,
[TABLE="width: 500"]
<tbody>[TR]
[TD]Main data[/TD]
[TD]Year[/TD]
[TD]Make[/TD]
[TD]Email[/TD]
[TD]Text[/TD]
[/TR]
[TR]
[TD]Year: 2001 Make: Nasa Model: big spaceship Drive: Automatic 2 Wheel Drive Spaceship: 4 12.7 Liter \----------------------------- Part: Hood \----------------------------- Name: Malcolm Jaegger Phone: 3195553361 Text: Yes Email: malcolmjaegger@hotmale.com Location: Chicago, Louisiana 71527 Notes: Thank you for using our excel forum! thesmartestpeopleever.com Team Stream: \-------------------------------------- Date/Time:February 7, 2014, 1:28 PM By reading this email you agree to the Terms and Condtions set forth by thesmartestpeopleever.com. You agree not to eat, drink, reproduce or alter this information for bitcoins to leprechauns.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]