Round down to nearest 5 cents in Word

G

Guest

Hi

Can anyone tell me the formula I can use in Word that will take the $ value
in on table field multiply it by a value in another field then round DOWN the
result to the nearest 5 cents.

I have this for the first part of the sum, just don't know how to round down.
=SUM(b1)*(c1) \# "$#,##0.00;($#,##0.00)

example: $165.69 x 0.7 = $115.983 ROUND to $115.95
 
M

macropod

Hi Brad,

Simple - code your field as:
{=INT(B1*C1*20)/20 \# "$,0.00;($,0.00)}
Note that I've deleted the '#' characters after the '$' signs - these force empty spaces to appear if the number is smaller than the
number of '#' characters, bit you don't need them for the ',' to work correctly.

For more information on field calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=365442

Cheers
 
G

Guest

Thanks for that, and the # tip.

macropod said:
Hi Brad,

Simple - code your field as:
{=INT(B1*C1*20)/20 \# "$,0.00;($,0.00)}
Note that I've deleted the '#' characters after the '$' signs - these force empty spaces to appear if the number is smaller than the
number of '#' characters, bit you don't need them for the ',' to work correctly.

For more information on field calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=365442

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Brad Christie said:
Hi

Can anyone tell me the formula I can use in Word that will take the $ value
in on table field multiply it by a value in another field then round DOWN the
result to the nearest 5 cents.

I have this for the first part of the sum, just don't know how to round down.
=SUM(b1)*(c1) \# "$#,##0.00;($#,##0.00)

example: $165.69 x 0.7 = $115.983 ROUND to $115.95
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top