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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1406[/TD]
[TD]30[/TD]
[TD]IN[/TD]
[TD]0048K180[/TD]
[TD]321S[/TD]
[TD]878[/TD]
[TD]947[/TD]
[TD]31[/TD]
[TD]off[/TD]
[TD]843[/TD]
[TD]MIA[/TD]
[TD]170[/TD]
[TD]LGA[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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