Share via

Headers in Excel

Anupam Shrivastava (Nokia) 0 Reputation points
2026-01-13T21:44:44.2133333+00:00

Dear Experts, In notepad++, I have data headers as these: User's image

and want to export it to excel, but seems they are not aligned as below

User's image

I am attaching the txt file notepad++ , seems attaching excel not supported.

Thanks & Regards

[Moderator note: personal information removed]

headers.txt

Microsoft 365 and Office | Excel | For education | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hendrix-C 17,580 Reputation points Microsoft External Staff Moderator
    2026-01-13T22:31:43.2833333+00:00

    Hi @Anupam Shrivastava (Nokia),

    Thank you for posting your question in the Microsoft Q&A forum.

    According to your concern, the reason the TBinfo is not aligned with the numerology column is that in your notepad, the TBinfo is placed on the second pipes |, which means it's placed on column 2 when numerology is placed on fifth columns. Even if the interface in your notepad showing they're aligned, Excel places them based on the delimiter |. That's why it places TBinfo on second column as you set in your notepad. To make them align, you just need to add three more | in your notepad and then try importing the data again. Excel will now put the TBinfo correctly align with the numerology.

    User's image

    User's image

    I hope this helps you move forward smoothly. If you have more questions or need further clarification, feel free to leave a comment here and I’ll be happy to continue supporting you.

    Thank you for your patience and understanding, and I look forward to assisting you further.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.