Solved

Mail merge decimal places

Posted on 2015-01-21
11
62 Views
Last Modified: 2015-02-18
I am using mail merge to bring data from an Excel spreadsheet into a Word document. I can do it all OK, but when I merge a number from Excel which is formatted as 3 decimal places, it merges in the Word document as a number with about 12 decimal places! What am I doing wrong?
0
Comment
Question by:BlosMusic
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40562236
The Word document is pulling the raw value of the number and not the formatted version.

Easiest solution is probably to insert a column in to the Excel sheet and enter a formula rounding the value to 3 decimal places as required and then merge on that field instead.

Thanks
Rob H
0
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 40562320
OR, click on any value see if its showing 12 deciamal points, then select row, right click and go to "format Cell" and select appropriate format for number.
0
 

Author Comment

by:BlosMusic
ID: 40562442
Hi Rob, Hi Santosh,
No, I've already done that: the cells with the numbers I am merging are already formatted to 3 d.p., and I've also copied the original cells to another cell, made that cell a 3 d.p. format, and then even copied that number to the cell I'm merging - none of that works: I still end up with a 15 or 16 (not 12 - I miscounted!) d.p. merged field in my Word doc.
0
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 40562540
what is the extention of excel file ??

xls, xlsx or csvd somting.
0
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 500 total points
ID: 40562557
i checked with all extentions, problem is else.

Please try to change the number format of data

=TEXT(A2,"0.000")

to fix the issue.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:BlosMusic
ID: 40562630
Good man! That works perfectly. Thanks very much!
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40563091
I suggested sorting the number by formula not by formatting or copying. Using ROUND formula would do same as converting to text.
0
 

Author Comment

by:BlosMusic
ID: 40564144
That works too. Thanks both.
0
 

Author Comment

by:BlosMusic
ID: 40611808
I did thank everyone. This solution worked. I'm not really clear about what is meant by 'abandoning' the question. I find the system for closing something off (and awarding points or whatever you do) very opaque!
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40616157
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro 6 49
From msAccess  SaveAs an excel file SILENTLY without opening excel 4 28
Excel macro runs twice 13 46
Dynamic Filter ? 3 0
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now