Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a .csv file where a few records are 'split' across multiple columns, I
presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rename the file from .csv to .txt.
Open it from within Excel as a delimited file, but unselect comma or any other potential delimiter. -- David Biddulph "Henrik" wrote in message ... I have a .csv file where a few records are 'split' across multiple columns, I presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks, David, that works. It is of course a bit of a workaround -- is there
really no way to do this straight from a .txt file? "David Biddulph" wrote: Rename the file from .csv to .txt. Open it from within Excel as a delimited file, but unselect comma or any other potential delimiter. -- David Biddulph "Henrik" wrote in message ... I have a .csv file where a few records are 'split' across multiple columns, I presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you do File|Open and select the .txt file (you wrote .txt in your response),
you can shift-click on the Open button and excel will put it all in column A. Henrik wrote: Thanks, David, that works. It is of course a bit of a workaround -- is there really no way to do this straight from a .txt file? "David Biddulph" wrote: Rename the file from .csv to .txt. Open it from within Excel as a delimited file, but unselect comma or any other potential delimiter. -- David Biddulph "Henrik" wrote in message ... I have a .csv file where a few records are 'split' across multiple columns, I presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Henrik
Change the extension from .csv to .txt Open that and the Text to Columns Wizard opens. Choose to keep all data in column A. Gord Dibben MS Excel MVP On Thu, 15 Mar 2007 13:33:20 -0700, Henrik wrote: I have a .csv file where a few records are 'split' across multiple columns, I presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The whole point of .csv files is so that text files can be easily imported into
excel in different columns. If you really, really want to break this behavior, you could try this: Look at the .csv file in notepad. Make a note of the field separator character. Then make sure that windows regional settings doesn't use that character as the list separator. windows start button|settings|control panel|regional and language options On the Regional Options tab click the Customize button On the numbers tab, check the list separator box. But this sounds like a pretty strange requirement to me. In fact, I wouldn't want you to mess with that setting on my pc. It would screw up lots of things--including the way I enter a formula: =if(a1=1,2,3) would have to use that list separator that you chose. Henrik wrote: I have a .csv file where a few records are 'split' across multiple columns, I presume because they have a comma (or similar) in them. All other records remain in the A column. That is annoying because Isubsequently need to manipulate all records in the same way (using 'Text to Columns'and other manipulations). It is thus essential that *all* records *stay* in the A column, i.e. that no 'Text to column' type functionality engages immediately upon opening the csv file. Is there a way to ensure this does not happen, i.e. that all records stay in column A? Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
File:1 and File:2 -- Double Files when Opening One File | Excel Discussion (Misc queries) | |||
opening an excel file opens a duplicate file of the same file | Excel Discussion (Misc queries) | |||
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. | Charts and Charting in Excel | |||
How to use the exact format in a csv file when opening a csv file | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) |