• formatting text field

    Author
    Topic
    #475004

    Greeting,

    I’m trying to submit a required state report as a text in certain format. I used Unidata to pull the required field as flat file[/url] and import the data to Excel 2007 successfully. The file has about 25 column (FName, MI, LName, SSN, DOB etc.)

    The state wants the file formatted as, let’s say 5 spaces between FName and MI, and 4 spaces between MI and LName and 4 spaces between LName and SSN ,3 spaces between SSN and DOB etc. and submit it as a text without any file extension (so they can open the file using any text editor like NotPad.

    What is the best way to accomplish the formatting?

    Thank you in advance.

    OCm[/FONT][/COLOR]

    Viewing 0 reply threads
    Author
    Replies
    • #1268702

      You can create a concatenation into a new sheet and save this sheet.

      It would be something like:
      =Sheet1!A1&rept(” “,5)&Sheet1!B1&rept(” “,4)&Sheet1!C1&rept(” “,4)&Sheet1!D1&rept(” “,3) etc

      You may need to format the DOB (with Text) to get the desired output.

      Steve

      • #1269500

        Thanks Steve for your reply & suggestions….

        OCM

    Viewing 0 reply threads
    Reply To: formatting text field

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: