macro to align input data

maheshr68

Board Regular
Joined
Sep 25, 2009
Messages
68
Greetings!! Experts

hav data as below--

1) IP Address Country Region City Latitude/
Longitude ZIP Code Time Zone
137.101.228.252 UNITED KINGDOM - - 54.15
-4.473 - +00:00
Net Speed ISP Domain
DSL AKHTER GROUP PLC NETSOLIR.COM
IDD Code Area Code Weather Station
44 - UKXX0233 - ESKMEALS

2) IP Address Country Region City Latitude/
Longitude ZIP Code Time Zone
77.101.232.214 UNITED KINGDOM ENGLAND LONDON 51.517
-0.105 - +00:00
Net Speed ISP Domain
DSL BROADBANDAUDIT VIRGINMEDIA.COM
IDD Code Area Code Weather Station
44 - UKXX0085 - LONDON

Want to arrange this data into excel fields named accordingly and in a single line. Currently it is not possible to even import fields as they are not to be located in the first line.

Need output as below--


1) IP Address Country Region City Latitude/Longitude ZIP Code Time Zone Net Speed ISP Domain IDD Code Area Code Weather Station

137.101.228.252 UNITED KINGDOM - - 54.15 -4.473 - +00:00 DSL AKHTER GROUP PLC NETSOLIR.COM 44 - UKXX0233 - ESKMEALS

2) IP Address Country Region City Latitude/Longitude ZIP Code Time Zone Net Speed ISP Domain IDD Code Area Code Weather Station

77.101.232.214 UNITED KINGDOM ENGLAND LONDON 51.517 -0.105 - +00:00 DSL BROADBANDAUDIT VIRGINMEDIA.COM 44 - UKXX0085 - LONDON


Best Regards
Mahesh
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Output required as below--

Excel Workbook
ABCDEFGHIJKLM
1IP AddressCountryRegionCityLatitude/LongitudeZIP CodeTime ZoneNet SpeedISPDomainIDD CodeArea CodeWeather Station
2137.101.228.252UNITED KINGDOM--54.15 -4.473-+00:00DSLAKHTER GROUP PLCNETSOLIR.COM44-UKXX0233 - ESKMEALS
377.101.232.214UNITED KINGDOMENGLANDLONDON51.517 -0.105-+00:00DSLBROADBANDAUDITVIRGINMEDIA.COM44-UKXX0085 - LONDON
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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