Share via

How do I fix my mergefield codes to NOT have a gap between £ and the first number?

Mergehelp! 0 Reputation points
2026-02-09T08:11:36.49+00:00

Please help urgently!

I need to complete a mailmerge on word asap with the excel data source - no matter what code I use I’m getting a gap where the value is under a thousand I.e £ 999 but where over a thousand it displays fine.

I’ve used multiple codes and exhausted Co-pilot every fix it gives me just outputs exactly the same - I’ve trimmed my excel data source so it’s definitely not an issue with the data.

I’ve used { mergefield mydata /# “£#,##0.00” } and plenty of Co-pilot variations to no avail.

Microsoft 365 and Office | Word | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Marcin Policht 82,675 Reputation points MVP Volunteer Moderator
    2026-02-09T12:29:05.95+00:00

    This might result from either a hidden space in the numeric picture switch or Word inheriting Excel’s Accounting format spacing. Accounting format pads values under 1000 so the currency symbols line up in columns, which shows up in mail merge as “£ 999” but “£1,000”. Even if you’ve “trimmed” the data, that padding is formatting, not data, so it survives the merge.

    First check the actual field code in Word with Alt+F9 and make sure there is no space after the pound sign. A common culprit is this:

    {
    

    That single space after £ produces exactly the gap you’re seeing. It must be:

    {
    

    If the code is already clean, the next most likely cause is Excel using Accounting rather than Currency/Number. Change the Excel column to plain Number with two decimals (not Accounting), save, close Excel completely, reopen Word, and reconnect the data source. Word caches Excel formatting and will keep reproducing the spacing until the connection is refreshed.

    If Word is still forcing the spacing, bypass Excel formatting entirely and force Word to treat the value as numeric with an equals field:

    {
    

    Insert the braces with Ctrl+F9, not by typing them, then update fields with F9.

    Also check that the merge field does not include the MERGEFORMAT switch carrying old formatting:

    {
    

    If it does, remove the MERGEFORMAT part so Word stops reapplying previous spacing.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    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.