Excel open pipe delimited file automatically

Microsoft Excel has features to automatically convert Excel files to CSV files or text files. But what about converting Excel files to a pipe-delimited text file. In this blog post, we will see two simple methods to convert Excel to text file with pipe delimiter. We will use a sample dataset for your better understanding.

Excel open pipe delimited file automatically


Download Practice Workbook


2 Ways to Convert Excel File to Text File with Pipe Delimiter

Here, we will see the use of the Control Panel and Find and Replace method to convert an Excel file to a pipe-delimited text file.


Method 1: Using Control Panel to Convert Excel File to Pipe Delimited Text File

We have to go to Region setting from the control panel for this method.

Steps:

  • Go to the computer Settings.

Excel open pipe delimited file automatically

  • Now, choose Time & Language. As you can see, the Region option is available in this section.

Excel open pipe delimited file automatically

  • After that, Choose the Date, time, & regional formatting or Region.

Excel open pipe delimited file automatically

  • From here, choose Region.

Excel open pipe delimited file automatically

  • As a result, a dialogue box will pop up and choose Additional settings.

Excel open pipe delimited file automatically

  • Again, a dialogue box will pop up. Now, we will type the SHIFT+BACKLASH (shift+\) key in the List separator box. It will change the separator from comma (,) to pipe (|).

Excel open pipe delimited file automatically

  • At this point, open the Excel file and go to File settings.

Excel open pipe delimited file automatically

  • Now, click Save as.

Excel open pipe delimited file automatically

  • As a consequence, a dialogue box will appear and select the file type as CSV(comma delimited) and Save the file.

Excel open pipe delimited file automatically

  • After this, right-click on the file Convert to pipe text then Open with > Notepad.

Excel open pipe delimited file automatically

  • Finally, we will see, that the file is converted to pipe text.

Excel open pipe delimited file automatically

  • Lastly, press CTRL+S to save the file.

Read More: Convert Excel to Text File with Delimiter (2 Easy Approaches)


Similar Readings

  • How to Extract Data from a List Using Excel Formula (5 Methods)
  • Excel Macro: Extract Data from Multiple Excel Files (4 Methods)
  • How to Extract Data from Excel to Word (4 Ways)
  • How to Pull Data from Multiple Worksheets in Excel VBA
  • Extract Data from One Sheet to Another Using VBA in Excel (3 Methods)

Method 2: Find and Replace to Convert Excel File to Text File with Pipe Delimiter

Another easy method, we can use is, using the find and replace option in the notepad.

Steps:

  • First, convert the file to CSV(comma delimited). If you cannot recall how to convert the file to CSV, please have a look at Method 1.

Excel open pipe delimited file automatically

  • Now, open the file with Notepad.

Excel open pipe delimited file automatically

  • After that, click Edit and go to Replace.

Excel open pipe delimited file automatically

  • Here, replace Comma (,) with Pipe (|) and click Replace all.

Excel open pipe delimited file automatically

  • As a result, all the commas will be converted to the pipe as we want and now, save the file by pressing CTRL+S.

Excel open pipe delimited file automatically

That’s it.

Read More: How to Import Text File with Multiple Delimiters into Excel (3 Methods)


Things to Remember

  • You can convert one Excel sheet at a time, so for multiple sheets to convert, repeat the process of selecting the sheet.
  • Due to an extra line at the bottom of the file, several people have been unable to load their flat files. Click on the first blank line at the end of the file and backspace until your cursor is at the end of the last line containing data when you open the file.

Practice Section

The single most crucial aspect in becoming accustomed to these quick approaches is practice. As a result, we’ve attached a practice workbook where you may practice these methods.

Excel open pipe delimited file automatically


Conclusion

That’s all for the article. These are 2 different methods to convert Excel to text file with pipe delimiter. Based on your preferences, you may choose the best alternative. Please leave them in the comments area if you have any questions or feedback.


  • VBA Code to Convert Text File to Excel (7 Methods)
  • How to Import Data into Excel from Another Excel File (2 Ways)
  • How to Import Data from Secure Website to Excel (With Quick Steps)
  • Transfer Data from One Excel Worksheet to Another Automatically with VLOOKUP
  • How to Import Data into Excel from Web (with Quick Steps)
  • How to Extract Data from Image into Excel (With Quick Steps)

How do I open a pipe delimited CSV file in Excel?

Launch Microsoft Excel, go to File > Open > change “All Excel Files” (to the right of the “File name”) to “All Files,” and find the pipe-delimited file you have just downloaded. Hit “Open” and Excel's “Text Import Wizard” will launch.

How do I open a pipe separated text file in Excel?

How to Use Pipe Delimited in Excel Files.
Open Microsoft Excel. ... .
Click "From Text" in the "Get External Data" section on the "Data" tab. ... .
Select "Delimited:" from the "Original Data Type" section. ... .
Select "Other" and enter a "|" in the "Delimiters" section. ... .
Choose a column format for the first column..

How do I get Excel to open CSV files automatically?

Summary – How to open CSV files in Excel by default.
Click the Start button..
Click Default programs..
Click the Associate a file type or protocol with a program link..
Select the . csv option..
Click the Change program button..
Click Microsoft Excel..
Click the OK button..

How can I force Excel to open CSV files with data arranged in columns?

MS Excel 2007 - 2012.
Open Excel..
Go to 'Data' tab..
Select 'From Text' (third option from left) and select the . CSV file you want to import..
Click 'Next' on the pop-up window. Make sure you select 'Comma' in the next window. You should see your data applied into columns below already..