0 appears in Mail Merge

Solved
Fanippon Posted messages 9 Registration date   Status Membre Last intervention   -  
 eve -
Hello everyone and thank you in advance to those who will take the time to help me.

I created 2 files (EXCEL + WORD) to establish a Mail Merge for generating invoices.
In my Excel file, I enter the clients' details; some have a post box, others do not.
As a result, when I run the Mail Merge, those without a post box end up with a line containing a 0 (whereas other clients have PB XXX)

Is there a way to ensure that it does not appear or that there isn’t a blank line?

EX1: what I get when I enter a PB
EX2: what I get when I do not enter a PB
EX3: what I could get if the 0 did not appear
EX4: what I would like to get (but I hope I’m not asking for too much!!!) if I do not enter a PB

Ex1: Mr DUPONT
1 place de la Mairie
PB 123
56000 Vannes

Ex2: Mr DUPONT
1 place de la Mairie
0
56000 Vannes

Ex3: Mr DUPONT
1 place de la Mairie

56000 Vannes

Ex4: Mr DUPONT
1 place de la Mairie
56000 Vannes

If anyone has the answer, I would be very grateful!!!

Have a great rest of the day...

7 réponses

eve
 
In the Excel database, you just need to replace the formula that contains 0 with ""
5