A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

convert numbers from data to text in Word



 
 
Thread Tools Display Modes
  #1  
Old January 13th, 2009, 06:47 PM posted to microsoft.public.word.mailmerge.fields
George
external usenet poster
 
Posts: 883
Default convert numbers from data to text in Word

I hope someone can help. I have an Excel sheet with a column of numbers (12,
26, 24 or 52). I want the mailmerge to populate my template with a word (ie.
12 - "monthly", 26 - "bi-weekly", 24 - "semi-monthly", 52 - "weekly").
Is this possible or do I have to change the data sheet before merging?

Thanks!
  #2  
Old January 13th, 2009, 08:36 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default convert numbers from data to text in Word

You can do it in Word by using e.g.

{ IF { MERGEFIELD frequency } = 12 "monthly" ""
}{ IF { MERGEFIELD frequency } = 26 "bi-weekly" ""
}{ IF { MERGEFIELD frequency } = 24 "semi-monthly" ""
}{ IF { MERGEFIELD frequency } = 52 "weekly" "" }

Where all the {} are the special field code braces you can insert using
Ctrl-F9. (Use Alt-F9 to toggle been "field view" and "results view"

Peter Jamieson

http://tips.pjmsn.me.uk

George wrote:
I hope someone can help. I have an Excel sheet with a column of numbers (12,
26, 24 or 52). I want the mailmerge to populate my template with a word (ie.
12 - "monthly", 26 - "bi-weekly", 24 - "semi-monthly", 52 - "weekly").
Is this possible or do I have to change the data sheet before merging?

Thanks!

  #3  
Old January 13th, 2009, 09:58 PM posted to microsoft.public.word.mailmerge.fields
George
external usenet poster
 
Posts: 883
Default convert numbers from data to text in Word

That's awesome, thanks!

"Peter Jamieson" wrote:

You can do it in Word by using e.g.

{ IF { MERGEFIELD frequency } = 12 "monthly" ""
}{ IF { MERGEFIELD frequency } = 26 "bi-weekly" ""
}{ IF { MERGEFIELD frequency } = 24 "semi-monthly" ""
}{ IF { MERGEFIELD frequency } = 52 "weekly" "" }

Where all the {} are the special field code braces you can insert using
Ctrl-F9. (Use Alt-F9 to toggle been "field view" and "results view"

Peter Jamieson

http://tips.pjmsn.me.uk

George wrote:
I hope someone can help. I have an Excel sheet with a column of numbers (12,
26, 24 or 52). I want the mailmerge to populate my template with a word (ie.
12 - "monthly", 26 - "bi-weekly", 24 - "semi-monthly", 52 - "weekly").
Is this possible or do I have to change the data sheet before merging?

Thanks!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.