Re format csv data

Danny54

Active Member
Joined
Jul 3, 2019
Messages
295
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon

what would be the easiest way to convert the following data into a formatted excel worksheet? In a application that allows me to save the data as a csv I'm presented with the following opening the file.
In the days gone by we were able to import data based on double quotes and semicolons and excel would line up the data


source;"identifier";"owner";"data_tier";"device_type";"ip_addresses";"domain";"created_at"
inputfile;"solutions";"Johns";"";"Host";"192.20.20.15192.20.20.16";"";"2022-05-03T01:00:00.602916-05:00"



The desired output would be a new sheet

A B C D E F G H
source identifier owner data_tier device_type ip_addresses domain created
inputfile solutions Johns Host 192.20.20.15, 192.20.20.16 2022-05-03T01:00:00.602916-05:00

Thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
A better output example

sourceidentifierownerdata_tierdevice_typeip_addressesdomaincreated
inputfilesolutionsJohnsHost192.20.20.15, 192.20.20.162022-05-03T01:00:00.602916-05:00
 
Upvote 0
Have you tried the "Text to Columns" wizard found under the 'Data' menu?
 
Upvote 0
Solution
Yes, the data isnt moved correctly.

Seems ok to me.

Before Wizard
Book1
A
1source;"identifier";"owner";"data_tier";"device_type";"ip_addresses";"domain";"created_at"
2inputfile;"solutions";"Johns";"";"Host";"192.20.20.15,192.20.20.16";"";"2022-05-03T01:00:00.602916-05:00"
Sheet4


After Wizard
Book1
ABCDEFGH
1sourceidentifierownerdata_tierdevice_typeip_addressesdomaincreated_at
2inputfilesolutionsJohnsHost192.20.20.15,192.20.20.162022-05-03T01:00:00.602916-05:00
3
Sheet4 (2)


1654293135088.png
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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