Reply
 
Thread Tools Display Modes
  #1   Report Post  
Niall
 
Posts: n/a
Default Round Down Merge field

Hi

I have got the following field in a mail merge document:

{={MERGEFIELD Annual_Rent}/4}

I am trying to round down the result to 2 decimal places and tried:

{=ROUNDDOWN({MERGEFIELD Annual_Rent}/4,2)}

but just get a syntax error. Can anyone help? Thanks
  #2   Report Post  
Greg
 
Posts: n/a
Default

Niall,

Word has no specific RoundUp or RoundDown feature, only round. .5 and
higher is rounded up values .5 are rounded down. You have to use a
constant to force a rounddown or up. In your case you need to subtract
..005 from your
earlier calculation e.g.,
{=round({={MFAR}/4-.005},2}

  #3   Report Post  
4zelka4 4zelka4 is offline
Junior Member
 
Posts: 1
Default

Quote:
Originally Posted by Greg View Post
Niall,

Word has no specific RoundUp or RoundDown feature, only round. .5 and
higher is rounded up values .5 are rounded down. You have to use a
constant to force a rounddown or up. In your case you need to subtract
..005 from your
earlier calculation e.g.,
{=round({={MFAR}/4-.005},2}
Hey there,
I have a similar problem. I have mergefield with expression:
{ =PRODUCT(Price;0,85)} the result is for example is 132,859
and I need it to be rounded down to 2 decimal places as well, so 132,85.
I tried your function but it doesnt work for me.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Field in Merge Document Karen Hart Mailmerge 35 March 29th 05 12:38 PM
Merge field in table of contents Richard Eggleton Mailmerge 0 February 2nd 05 12:12 AM
13 numbers added to Word/Excel mail merge field Pat Mailmerge 1 January 19th 05 02:10 AM
Home Phone field not getting picked up in Merge Cathleen McGuire Mailmerge 4 January 7th 05 03:13 AM
suppress invalid merge field word 2003 Mike Mailmerge 3 December 9th 04 11:13 AM


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

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"