Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
BrookieOU BrookieOU is offline
external usenet poster
 
Posts: 2
Default Decimal places in mail merge

I am trying to mail merge from an Excel spreadsheet and one of the fields I
am using is a calculated currency field (weekly pay). The problem I'm having
is because it is a calculated field the decimal point carries out to like 10
places. Here are the different steps I have tried to fix it, all to no avail:

1. In the Excel spreadsheet I have replaced the formulas with the values
and set the format to number with the decimal places at two. In the merge it
still carries it out 10 or so places.

2. In the Excel spreadsheet I have set the values format as general, with 2
decimal places. In the merge it still carries it out 10 or so places.

3. I have physicall gone and re-typed the values in Excel so that there
were only 2 decimal places physically entered in the cell. If I set the cell
format to text it merges fine. But, if I set the cell value to number (so I
can have the thousands comma) some of the values it will still carry out 10
places even though I only physically entered 2 numbers after the decimal
place. For example. The first number is typed in Excel as 1870.22 and that
merges fine. The next number is typed in Excel as 1321.15 but it merges
1321.150000000001. Those other numbers were never typed in and I can't
figure out why it is arbitrarily picking numbers to do that to!

I have already gone in and just set all the numbers to text and am
physically adding the commas in, but I was wondering if anyone knew the
answer or reason behind this. It's driving me crazy!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Decimal places in mail merge

You need to add a "numeric picture" switch to format the incoming number.
See http://www.gmayor.com/formatting_word_fields.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"BrookieOU" wrote in message
...
I am trying to mail merge from an Excel spreadsheet and one of the fields I
am using is a calculated currency field (weekly pay). The problem I'm
having
is because it is a calculated field the decimal point carries out to like
10
places. Here are the different steps I have tried to fix it, all to no
avail:

1. In the Excel spreadsheet I have replaced the formulas with the values
and set the format to number with the decimal places at two. In the merge
it
still carries it out 10 or so places.

2. In the Excel spreadsheet I have set the values format as general, with
2
decimal places. In the merge it still carries it out 10 or so places.

3. I have physicall gone and re-typed the values in Excel so that there
were only 2 decimal places physically entered in the cell. If I set the
cell
format to text it merges fine. But, if I set the cell value to number (so
I
can have the thousands comma) some of the values it will still carry out
10
places even though I only physically entered 2 numbers after the decimal
place. For example. The first number is typed in Excel as 1870.22 and
that
merges fine. The next number is typed in Excel as 1321.15 but it merges
1321.150000000001. Those other numbers were never typed in and I can't
figure out why it is arbitrarily picking numbers to do that to!

I have already gone in and just set all the numbers to text and am
physically adding the commas in, but I was wondering if anyone knew the
answer or reason behind this. It's driving me crazy!


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Decimal places in mail merge

You need to add a "numeric picture" switch to format the incoming number.
See http://www.gmayor.com/formatting_word_fields.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"BrookieOU" wrote in message
...
I am trying to mail merge from an Excel spreadsheet and one of the fields I
am using is a calculated currency field (weekly pay). The problem I'm
having
is because it is a calculated field the decimal point carries out to like
10
places. Here are the different steps I have tried to fix it, all to no
avail:

1. In the Excel spreadsheet I have replaced the formulas with the values
and set the format to number with the decimal places at two. In the merge
it
still carries it out 10 or so places.

2. In the Excel spreadsheet I have set the values format as general, with
2
decimal places. In the merge it still carries it out 10 or so places.

3. I have physicall gone and re-typed the values in Excel so that there
were only 2 decimal places physically entered in the cell. If I set the
cell
format to text it merges fine. But, if I set the cell value to number (so
I
can have the thousands comma) some of the values it will still carry out
10
places even though I only physically entered 2 numbers after the decimal
place. For example. The first number is typed in Excel as 1870.22 and
that
merges fine. The next number is typed in Excel as 1321.15 but it merges
1321.150000000001. Those other numbers were never typed in and I can't
figure out why it is arbitrarily picking numbers to do that to!

I have already gone in and just set all the numbers to text and am
physically adding the commas in, but I was wondering if anyone knew the
answer or reason behind this. It's driving me crazy!


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
Round numbers to 2 decimal places when using Word Mail Merge ALJ Mailmerge 3 April 30th 23 02:49 PM
mail merge with excel - how do get only 2 decimal places after com Kerstin Mailmerge 1 September 29th 08 08:40 AM
Unwanted decimal places in a mail merge from Excel Kurch Mailmerge 1 May 15th 06 10:18 PM
Limit decimal places in mail merge document Diana Corl Mailmerge 2 September 28th 05 02:13 PM
Mail merge prints out incorrect no. of decimal places from Excel . UDDWF Mailmerge 1 February 7th 05 11:22 PM


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

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

About Us

"It's about Microsoft Word"