Solved

Exported ms access 2007 to Excel 2007 query fails to display as numbers

Posted on 2012-04-12
3
242 Views
Last Modified: 2012-05-22
I have a left joined query that contains a simple calculated field Nz([CERTIFIED_US_AMT]-Nz([DEOB_AMT]))  with field named "Total". The two tables are humongous (almost 5 million records each) but still only add up to 1.8GB so it within Ms Access limits. BUT, when I export it, the total column will not display as numbers. I tried to use the "convert to Numbers" feature with no success. Never had this problem before. Query is attached.
0
Comment
Question by:howcheat
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 37840629
how are Totals displayed?

try changing this

Nz([CERTIFIED_US_AMT]-Nz([DEOB_AMT]))

with

FormatNumber(Nz([CERTIFIED_US_AMT])-Nz([DEOB_AMT]),2)
0
 
LVL 77

Expert Comment

by:peter57r
ID: 37841697
"when I export it, the total column will not display as numbers"

What do you get then?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37843454
<"when I export it, the total column will not display as numbers"
What do you get then?>

Yeah, I'm curious as well, ...unless one of your fields is a string and you are inputting text (ex.: 45b, X41), then you will get #error

But even if both fields were text and you only input numeric values, your formula should only output numbers.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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