Share via

Formatting and aligning merged Excel numbers into a Word document

Barbara Aide 5 Reputation points
2025-11-21T19:02:29.7733333+00:00

I have merged excel numbers into a a word document. On each line, I have a description of a charge and the charge amount. I need to do several things:

  • I need to left align the charge description
  • I need to right align the charges and format them into dollars and cents
Microsoft 365 and Office | Word | For business | Windows

6 answers

Sort by: Most helpful
  1. Charles Kenyon 167K Reputation points Volunteer Moderator
    2025-11-21T20:25:36.8033333+00:00

    Alignment

    I left and right aligned as described but the whole line is being viewed as one thing. I was able to right align the amounts but it pulled the description with it. When I left aligned the descriptions, it pulled the amounts with it. How do I separate the description from the amount?

    Mail Merge into a Table with alignments set in relevant columns. The alignment can be set under the Table Layout tab by selecting the column and applying the cell alignment you want. A table need have no borders and can have as many rows as you want.

    As for left and right alignment on a single line without tables, you would use tab settings, see my https://www.addbalance.com/usersguide/justification.htm#Flush

    See also Shauna Kelly's Use Tables and Tabs to Arrange Text in Word https://www.addbalance.com/usersguide/4UseTablesTabs.htm

    Word does not pay attention to any formatting done in Excel.

    For instance, if you have 23.5 formatted to $23.50 as currency in Excel, Word will still see 23.5. You can format the mergefield using switches.
    See MVP Graham Mayor's page on using switches in fields: [http://www.gmayor.com/formatting_word_fields.htm].

    Something along the lines of { Mergefield Amount # $0.00 }.

    My article on dealing with fields: https://answers.microsoft.com/en-us/msoffice/forum/all/dealing-with-fields-in-microsoft-word/e1bdddad-5a51-4327-837c-c3786c16a501


    I've deleted the AI response as misleading.

    Was this answer helpful?

    4 people found this answer helpful.

  2. Doug Robbins - MVP - Office Apps and Services 323K Reputation points MVP Volunteer Moderator
    2025-11-21T22:10:39.5633333+00:00

    You may want to make use of the Many to One facility of my Merge Tools Add-in that is contained in the MERGE TOOLS ADD-IN.zip file that you can download from:

    https://mergetoolsaddin.com/

    Extract the files from the archive and read the:

    “READ ME – Setting up and using the Merge Tools Add-in.pdf

    to see how to install and use the various tools.

    Using those tools, it is possible to perform the following types of merge that cannot be done with Mail Merge “out-of-the-box”:

    • Merge to e-mail messages either with or without attachments, with the documents created by the merge being sent as either Word or PDF attachments or as the body of the e-mail message .  The email messages can, if necessary, also be sent to CC and BCC addresses and the subject of the message can include data from a field in the data source.
    • Merge to individual documents in either Word or PDF format with the filenames being supplied by the data in one of the fields in the data source
    • Many to One type merges, which can be used for creating documents such as invoices where there are multiple records in the data source that have common data in one of the fields
    • Merging to a document that will include a chart that is unique to each record in the data source
    • Merging a document with Content Controls
    • Merging a document that contains Legacy FormFields
    • Duplex Merges
    • Merging to a printer that will collate and staple the output created from each record in the data source.

    The requirements for using the system are:

    • The mail merge main document must be of the Letters type, though that does not mean that the output cannot be sent as an e-mail message where relevant.
    • For the Many To One, Merge with Attachments and Merge to Individual Docs utilities, the data source may be either a table or query in an Access database, or in the form of an Excel worksheet. For the Chart Merge utility, see the Mail Merging with Charts document that is included in the Merge Tools Add-in Zip file for additional requirements for the data source for use with that utility
    • For a data source in the form of an Excel worksheet, the field names must be in the first row of the worksheet and there must be a field name in all of the cells in that row that are within the range of columns that contain the data.
    • For both types of data source, the field names must contain only alphanumeric characters (No @,#,$,%,&,(,), etc) and the field names must not start with a numeric character (0-9). The number of characters in the field names, including spaces, must not be more than 40.

    The MergeTools Add-in will NOT work with the “New Outlook”, which is just a re-badged version of Windows Mail and like its predecessor, it does not support automation and hence will not send the messages created by the MergeTools Add-in.

    Be aware, that any messages that you had tried to send with the “New Outlook” will have been placed in the Outbox of the original Outlook and they will be sent as soon as you revert to that version of Outlook.   If you do not want that to happen, you should put Outlook Off-line, or disconnect your computer from the Internet.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  3. Barbara Aide 5 Reputation points
    2025-11-21T19:40:08.05+00:00

    Part of this worked. I left and right aligned as described but the whole line is being viewed as one thing. I was able to right align the amounts but it pulled the description with it. When I left aligned the descriptions, it pulled the amounts with it. How do I separate the description from the amount?

    Also, when I right clicked an amount field, I'm not seeing a format option. Nor am I finding format when I look at the command ribbon. What am I missing?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  4. Barbara Aide 0 Reputation points
    2025-11-21T22:56:52.9566667+00:00

    I'll follow up on your information to enhance my understanding of mail merges. Thanks!

    Was this answer helpful?

    0 comments No comments

  5. Barbara Aide 0 Reputation points
    2025-11-21T22:55:02.44+00:00

    I found a solution that solved my problem but I still don't know what I was doing wrong in the first place. I'll do some research on your feedback so I can do merges more easily in the future. Thanks for your answer.

    Was this answer helpful?

    0 comments No comments

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.