Solved

excel converts formula to exponential notation

Posted on 2011-09-14
5
374 Views
Last Modified: 2012-05-12
Hi all,
I have a column that contains a formula. I have formatted the column general. I type in the formula and copy it down the column. Some of the clls calc fine, others show as exponential notation. There is nothing special that I can see about the cells being used in the calculation. It seems random but I am sure it's not. What's up? I have attached sheet. Check out rows starting 294. Thanks. QCC01-T2-Process-20110914v3.xlsx
0
Comment
Question by:COBOLforever
  • 3
  • 2
5 Comments
 
LVL 50

Expert Comment

by:teylyn
ID: 36540149
Hello,

the value in cell I294 is

-0.000000000000113686837721616

The General format will display this in exponential notation. To change that, format the cells as Number instead.

cheers, teylyn
0
 

Author Comment

by:COBOLforever
ID: 36540164
But I cannot format as number because the cells are formulas, right?
0
 

Author Comment

by:COBOLforever
ID: 36540169
interesting - I did as I was told ... it works. It appears that it only happens when the formula equates to 0.00?
0
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 36540180
There is a tiny, tiny bug in Excel that sometimes surfaces, where numbers that should be 0 are actually very, very small amounts.

You could use this formula instead and keep the General format, starting in I2 and copied down.

=IF((H2+G2)>590,590-G2,ROUND(H2+G2,10))

That will round the number to the 10th digit, and for this bug should work fine.

And, by the way, if the cell shows a number, then that number can be formatted. It does not matter if the number has been typed into the cell or is the result of a formula.

cheers, teylyn
0
 

Author Comment

by:COBOLforever
ID: 36540221
excellent - - thanks for the great clarification and explanation.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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,…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 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

13 Experts available now in Live!

Get 1:1 Help Now