Solved

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

Posted on 2012-04-05
2
171 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

856 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