We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel to Word mailmerge help

Can someone help with an Excel to Word mail merge problem I’m having?

When I print address labels for our car club magazine I also print the membership number at the top of each label importing this number from the <<membership no>> field in the Excel spreadsheet. This works fine for simple numeric membership numbers.

However, for several categories of membership I use the format of letter then number e.g. S01 and C02. These do not get imported correctly into the mail merge and show as <<0>> (zero).

I have tried to changing the format of the Excel sheet membership number cells so that they are in general format rather than specifically numeric but this has not helped.

I would be most grateful for any suggestions as to what I’m dong wrong and how to correct this.

Many thanks.

Comments

  • Marty999
    Marty999 Posts: 728 Forumite
    500 Posts
    Have you tried entering the prefix letter in the Word doc, and then merging the variable number with it from your worksheet?
  • Jivesinger
    Jivesinger Posts: 1,221 Forumite
    Ninth Anniversary Combo Breaker
    I've not much experience of mail merges, but I've had this problem in other scenarios when trying to get data out of Excel. In the problems I've had, the software looks at the first few rows in the spreadsheet and 'guesses' that the data type in that column is numeric.

    A slightly clunky way round it would be to try inserting a dummy row at the top of your spreadsheet, with an alphabetic membership number (eg. a membership number of 'DUMMY'). It would waste a label though.

    You might also try applying the 'Text' format to that column rather than 'General' but I'm not sure whether that would work.
  • Marty999 - I'm merging dirctly to labels (albeit in word format)

    Jivesinger - I have tried text format but this doesn't help
  • cookie365
    cookie365 Posts: 1,809 Forumite
    In what way does text format 'not help'?

    Why not add an extra column in your spreadsheet with a formula to convert the membership number to text. Plenty of step by steps on the internet.

    Then merge that field as text onto the label in exactly the same way as you merge the text address fields.
  • cookie365 wrote: »
    In what way does text format 'not help'?

    Why not add an extra column in your spreadsheet with a formula to convert the membership number to text. Plenty of step by steps on the internet.

    Then merge that field as text onto the label in exactly the same way as you merge the text address fields.

    I have tried formating the column/cells as text but the membership numbers print correctly if numeric but as '0' if alpha numeric.
  • Jivesinger
    Jivesinger Posts: 1,221 Forumite
    Ninth Anniversary Combo Breaker
    cookie365 wrote: »
    In what way does text format 'not help'?
    Have to admit I have just tried this (with Office 2003) and it indeed doesn't help. The mail merge ignores the format.

    However this does work for me (as would my DUMMY row):
    cookie365 wrote: »
    Why not add an extra column in your spreadsheet with a formula to convert the membership number to text. Plenty of step by steps on the internet.

    Then merge that field as text onto the label in exactly the same way as you merge the text address fields.
    I added an extra column with the formula
    =""&A2
    
    (Assuming the membership numbers start from cell A2, put this formula in row 2 on the new column, and copy it down) and it does the job.
  • Jivesinger - I've tried your suggestion of a DUMMY entry and this works perfectly (I'm also using Office 2003).

    Both numeric and alpha numeric membership numbers now print on the address labels.

    There's no waste of a label as I simply uncheck this entry before printing.

    I wonder why this happens?
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.7K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.8K Work, Benefits & Business
  • 603.3K Mortgages, Homes & Bills
  • 178.2K Life & Family
  • 260.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.