Text to columns

vicedo

Active Member
Joined
Jan 9, 2015
Messages
401
Hi guys, i have informations such as these

MR EXCEL & CO LTD.
LAGOS DISTRICTACCOUNT STATUS REPORT
01/28/2015BILLING MONTH: JAN 2015PAGE: 001
08:45:15STATUS CODE = 02
ACCOUNT NUMBERNAMEADDRESSBILL DATEPMT DATEPMT AMOUNTBALANCE
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70

<tbody>
</tbody>

These are notepad files that have been pasted into excel and all i want is for excel to look through my sheet and delete the Account Number, name, address, bill date, pmt date, pmt amt, balance and any other information up to MR EXCEL & CO LTD. then leave just these infos and split them into columns like this

01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70
01/01/11/2015-01EDOZIE VICTORPENNSYLVANIA DISTRICT30/07/201416/06/20112,000.00206,367.70

<tbody>
</tbody>

I guess VBA can help in this situation. Thanks in anticipation
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
if it is a regular task then I would go with VBA. If it is once only I would
1, insert new column A and number the rows from A1 to the end of your data, then
2. Sort the data by column B. This will put all of the account numbers together.
3. Delete the rows with unwanted headers etc. Some will be at the top and some will be below the wanted data,
4. Sort by the temporary numbers in column A to return data to original sequence.
5. delete temp column A
 
Upvote 0
In that case you probably need vba. Someone can help but you need clearly explain how to recognise the lines you want to keep
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

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