Help me break this down

cesar333

New Member
Joined
Aug 18, 2016
Messages
9
I have to pull customers flight information from a website and paste it to my sheet but when doing so it puts all of the information into 1 cell. I have tried delimiter function but its hit and miss. I have tried variations of code and formulas but its just a big mess. What i need is to be able to paste this infomation into a cell and have it split up and formatted properly into individual cells. Information is in A2
So here is my info below and below that is what i am looking to achieve;


A2-1406/30 IN 0048K180 321S 878 947/31 OFF 0843 MIA 170 LGA 2
G2-1406 (this is the flight#)
H2- /30 (this is a date 12/30/17)
I2 - IN ( this is the status of the flight)
J2 - 0048 (This is the time, **the "K" means nothing and can be remove. This is where i get stuck Format as 00:48)
K2 - 180 (means nothing)
L2 - 321S (aircraft type)
M2- 878 ( Means nothing
N2 - 947 ( Flight out number
O2 - /31 (Date= 12/31/17)
P2 - OFF - (means flight status)
Q2 - 0843 (Time out - Time Format as 08:43)
R2 MIA - (Destination - Keep as MIA)
S2 - 170 ( means nothing)
T2 - LGA - (city)
U2 - 2 (Gate Location)

Any help would be greatly appreciated.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Seems like most of this would work with the Text-to-columns function, you could set 2 delimators, one being space the other being "/". If you can live without the slash being in H2 and O2 that should work for you.
 
Upvote 0
Sorry it won't push it to those cells, it would start in A2 and go to N2, but here is the output I get when I do that:

ABCDEFGHIJKLMN
2140630IN0048K180321S87894731off843MIA170LGA2
3

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

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