Data

themrg

New Member
Joined
Sep 9, 2010
Messages
3
Hi Guys,

I hope you can help me. I received some data in the following format:
Mr|A| Jones| $500| 15 Sunset Road| Claremont|||
15/3/2010|Invoice|$2000|
20/3/2010|Payment|$1500|
Mr|G| Moses| $2000| 20 Musket Road| Bellville|||
15/3/2010|Invoice|$4000|
30/3/2010|Payment|$2000|

I need change this raw data so that all the information appears in one string or row. eg:
Mr|A| Jones| $500| 15 Sunset Road|Claremont|15//2010|Invoice|$2000|20/3/2010|Payment|$1500|
I've already been able to split the information into two tables 1 with client data only (Mr|A| Jones| $500| 15 Sunset Road| Claremont|) and the other with transaction data only (15/3/2010|Invoice|$2000|)

I have unique numbers that could link the transaction to the customer (so all Mr Jones' transactions have 1 as a reference while all Mr Moses' has 2 as a reference.

Is there any way I can combine these tables into one? Or is there perhaps an easier way of getting the data above into one row that I'm not seeing?
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Have you looked at Data / Text to Columns
and use the | as the delimiter
 
Upvote 0
Hi Michael,

Just thought I'd give you some feedback. I managed to get all my info I needed in one string of data using MS Word and the find and replace function.

First I removed the paragraph symbol that caused the text to separate (go find and replace ^13). Since every line started with the words "statement period" I could find and replace it with "^|statement period". This puts a manual spacing between each string. I then exported to .txt and imported it to excel using the| as a deliminator.

Thanks for your help!
 
Upvote 0
Well done, glad you got it sorted...
You obviously didn't need any help, you did it yourself....LOL!
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top