How to Reformat a CSV File
CSV files generated from SQL script contain merged columns and require minor formatting. This tutorial will explain a fast method to format the file.
1. Open CSV file with Excel
- In the email double click on csv file attachment
- It will automatically open with excel, if you have that program installed on the computer
2. Expand Width of Column "A"
- To expand the width of column "A" either double click on the divider line between column "A" and "B" or click and drag the devider to expand the column
- Click on header to select the column
3. Delineate the Columns
- Click on tab "DATA"
- Click on button "Text to Columns"
- Make sure radio button is clicked for "Fixed Width", Click Next
- Remove the line which was automatically placed at width "27" by double clicking on the line
- Scroll to the right and remove line automatically placed at width "74" by double clicking on the line
- Click on the line automatically placed at width "76" and drag it to "90"
- You should end up with two lines at numerical scale "61" and "90". Verify and click "Next"
- Click "Finish"
4. Save Formatted File
Click on the save button to save newly formatted file.
0 Comments
Add your comment