?
Solved

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

Posted on 2012-04-05
2
Medium Priority
?
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

765 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