Excel 2010 Numerical Accuracy

I have a large Excel workbook with VBA macros.   I runs it in both Excel 2010 64 bit and Excel 2016 64 bit.  However, the output results are different.   Any thoughts?
BW999Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
Please describe the difference.
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
However, the output results are different.   Any thoughts?
could be formatting or data issues?

running both in same machine?
0
BW999Author Commented:
The discrepancy is in some of the numerical results written to worksheet cells.   There are no problems with the formatting and both the Excel 2010 and 2016 workbooks are running with the same input datafile contained in a separate workbook.
0
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Martin LissOlder than dirtCommented:
Do you use very large or very small numbers? If so this article may help. Don't miss the section at the end that talks about correcting precision errors.

Another possibility is that If you have VBA code in the workbook and you use variables defined as Double or Variant (which is the default if you don't explicitly define the type) you may be able to change them to Currency if you don't need more than 4 decimal places.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BW999Author Commented:
Thanks
0
Martin LissOlder than dirtCommented:
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.