Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Too many comma's in CSV file from Excel.

Posted on 2012-09-13
4
Medium Priority
?
958 Views
Last Modified: 2012-09-13
Hey Experts,

When I export a CSV file from Excel 2007, the headers plus about 12 extra comma's are exported.

I only need the column names from the first row, not those extra comma's.

Screenshot attached...

Any advice?
too-many-commas.png
0
Comment
Question by:Modifier1000
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Rob Henson
ID: 38395321
I would say the Export is recognising the columns to the right of the last column as within the Used Range.

If you press Ctrl + End or End + Home, the cursor should go to the bottom right of the used range. Is this the actual bottom right? I suspect it will be 12 columns too far right.

Thanks
Rob H
0
 
LVL 34

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 38395335
To get rid of the surplus columns, highlight the surplus column headers and a couple of extra for good measure and delete the column.

The surplus data could just be a stray space or apostrophe that you won't see when scanning down the columns or it could be just formatting.

Thanks
Rob H
0
 

Author Comment

by:Modifier1000
ID: 38396058
I have not seen this in Excel, but is there a way to only export selected data?

I have to go thru a long process to get to the computer with the data and I won't have internet or phone access once I in that lab, so I'm trying to gain as much info before having to go thru the long process of entering that lab.
0
 

Author Closing Comment

by:Modifier1000
ID: 38396558
Thanks, worked perfectly!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question