ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Number Format Issues-Decimal Places (https://www.excelbanter.com/excel-worksheet-functions/5688-number-format-issues-decimal-places.html)

EXCELNCBOY

Number Format Issues-Decimal Places
 
When working with decimals with 3 decimal places, I get the weirdest issues.
Type .101 in A1 and type .102 in A2, Select both and then drag down series to
row 1000. At some point(usually around the 564th line) the numbers change
over to show about 15 decimal spaces. This throws off lookups or formulas
that require the numbers to be exact.

Also, when you drag down the numbers, the problem will go away once it
reaches 1.000, or I've seen where it will effect numbers in bunches.

Any ideas or suggestions would be appreciated.

Ron Rosenfeld

On Thu, 4 Nov 2004 10:48:04 -0800, "EXCELNCBOY"
wrote:

When working with decimals with 3 decimal places, I get the weirdest issues.
Type .101 in A1 and type .102 in A2, Select both and then drag down series to
row 1000. At some point(usually around the 564th line) the numbers change
over to show about 15 decimal spaces. This throws off lookups or formulas
that require the numbers to be exact.

Also, when you drag down the numbers, the problem will go away once it
reaches 1.000, or I've seen where it will effect numbers in bunches.

Any ideas or suggestions would be appreciated.


I cannot reproduce your problem (XL2002). I did what you describe and all of
my numbers have 0, 1, 2 or 3 decimal places.

Any chance that certain cells are formatted as other than general?

Does it happen in a new workbook?

What happens if in A2 you put the formula =A1+.001 and drag that down?

One workaround would be either that formula, or the formula:

=round(a1+.001,3)

then copy/paste special values




--ron


All times are GMT +1. The time now is 07:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com