Solved

Exporting Data from Excel to .CSV format, for Blank Columns..?

Posted on 2012-04-05
2
169 Views
Last Modified: 2012-04-05
Experts,

I need to know how to export BLANK columns that are at the end of each record / row.?

When I SAVE AS a .CSV file, I don't get COMMA DELIMETERS for any row that that last 10 or so Columns are BLANK.

My receiving system needs to see the COMMA Delimeter even if the column is blank. This is ONLY  happening if the end  of each record row has blanks in the columns.

Thanks
0
Comment
Question by:MIKE
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 37813361
Try:

Put a formula that evaluates to empty (=”" ) in the last column of  the rows that are empty:

1.select the range in the last column: edit->goto, click on the “Special…” button, Choose “Blanks” and click OK.

2.type the formula: =”"

3.hit ctrl-enter

Now when you save the document the appropriate number of delimeters should be present, even in rows with empty cells.
0
 
LVL 17

Author Closing Comment

by:MIKE
ID: 37813928
I found another solution as well.. a work-around really... I simply add some coding that I believe will NOT be found anywhere in the data to the LAST COLUMN for the rows that show blank cells at the end. So that last one will now contain a CODE. I decided on my full name spelled backwards with first letter of each name capitalized.

I then export to .CSV...and since the code is there...ALL "comma" delimeters are there.

Then using WordPad,... I do global FIND/REPLACE on the code...find the code and replace with a blank or nothing...

Worded like a charm

Thanks
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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