I have a CSV file that contains some numbers that have trailing zeros e.g.
24.1,15.0,13.1
XL being helpful can read csv files without any problem so when I open the csv file I get an XL sheet holding each number in separate cell, trouble is XL (being less helpful) ditches the trailing zeros and I get :
24.1 | 15 | 13.1 |
I have tried a less direct approach:
– create a blank sheet, format all the cells to text
– open the csv file in notepad then copy and paste the data into a single column
– then use the text to columns feature making sure I select ‘text’ as the column data format
but still the trailing zero disappears.
I know mathematically the trailing zeros are not significant but I must at least capture them as text before I let XL loose to do its sums. Any ideas how I can get XL to import the csv file and treat everything it finds as text even if the variables between the commas are numbers?
stuck