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
YorkshireTraveller
Posts: 358 Forumite
in Techie Stuff
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.
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.
0
Comments
-
Have you tried entering the prefix letter in the Word doc, and then merging the variable number with it from your worksheet?0
-
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.0 -
Marty999 - I'm merging dirctly to labels (albeit in word format)
Jivesinger - I have tried text format but this doesn't help0 -
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.0 -
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.0 -
Have to admit I have just tried this (with Office 2003) and it indeed doesn't help. The mail merge ignores the format.In what way does text format 'not help'?
However this does work for me (as would my DUMMY row):
I added an extra column with the formulaWhy 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.=""&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.0 -
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?0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
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