+ Reply to Thread
Results 1 to 3 of 3

Thread: Making pipe delimited columns

  1. #1
    Registered User
    Join Date
    01-30-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Making pipe delimited columns

    I gather this has been asked before, but I searched and couldn't find what I needed and I'm in a bit of a hurry, so sorry if I ask again.

    I have an excel file, consisting of 5 columns all filled with data. I need to convert that into ASCII text with pipe delimited columns and I don't know how to do that.

    The excel file looks like this attaced file: example excel sheet.jpg
    and the pipe delimited columns have to look like the attached file.Example pipe delimited columns.jpg

    I hope it's just a simple task, because I don't know anything about macros etc. Or if someone is willing to make it for me, I can send the entire file (I think it's about 2mb because it contains 25.000+ sheep). But I need to make two actually, one for each breed of sheep we have in the pedigree book.
    Last edited by Titia; 01-31-2012 at 09:33 AM.

  2. #2
    Valued Forum Contributor Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    685

    Re: Making pipe delimited columns

    Assume your data is in columns A to E, then you can put this formula in, say, G1:

    =A1&"|"&B1&"|"&C1&"|"&D1&"|"&E1

    Then copy this down. Highlight all the cells in that column then click on <copy>, then right-click and choose Paste Special, then Values, then click OK and <Esc>. This will have converted the formulae to values, so now you can delete columns A to F, and then use File | Save As to save the file with a different name and with file type TXT.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-30-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Making pipe delimited columns

    Hi Pete, thanks for the explanation. In the meantime I have found an other way to do it.

    In the control panel/Region and lanuages choose advanced and then set the list seperator to what sign you want to use, I took the pipe |
    After that open the excelfile and save it as a CSV(Ms-dos). Then open the file in Notebook and save it as a text file and there it is.
    Took me almost all night to find it, but I found it on the internet export excel files with pipe/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0