Export or Save Excel Files with Pipe (or Other) Delimiters Instead of Commas

If you’re working with some awful corporate system that should have been retired in the dark ages, you might have had to produce a file from Excel with some weird delimiters other than comma or tab-delimited to import into the system. Here’s the trick on how to do it.

Naturally, this isn’t the type of article that most people will need to use, hopefully ever—but if you do need to know how to do it, the solution isn’t really obvious at first.

Exporting Excel Files as Pipe Delimited

For the purposes of this example, we’ll use this silly little Excel file.

image

To save the file as Delimited, you’ll need to click the Office button and choose Save As –> Other Formats.

image

Then select CSV (Comma delimited)(*.csv) from the drop-down list, and give it a name.

image

Now here’s where the interesting part happens… Excel by default will use a comma as the delimiter, but if you open up Control Panel –> Region and Language, and then click the Additional settings button on the bottom…

image

Now look very closely at the “List separator” item, which normally has a comma in the field, but for the purposes of illustration I’ve switched it to a Pipe character.

image

Once you hit Apply, and then save your Excel file, you’ll notice that your file now has pipe characters as the delimiter.

image

You’ll probably want to change the List separator back to a comma just in case some other application needs it.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.