Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
A Zaffiro
 
Posts: n/a
Default

Thanks Jerry. I used that plus some of Bob Phillip's ideas to create a
formula that solves the trailing zero display problem for 2 significant
figures and works for any number above zero including decimals. It gets
rather involved to write a general fomula that allows the number of sig fig's
to vary beyond 2. I'll share the formula after I have a chance to polish and
test thoroughly.

Alan Zaffiro

"Jerry W. Lewis" wrote:

A more general formula for rounding to a specified number of significant
figures is given in
http://groups-beta.google.com/group/...244c8f41e91025
but that does not address the question of general display of trailing zeros.

Jerry

A Zaffiro wrote:

To report numbers in significant figures, Excel Help gives the following
formula and states that it is valid for numbers above zero:

=ROUND(B18,2-LEN(INT(B18))), where B18 is the number to round, and 2 is the
the number of significant figures desired.

In fact, it only works for numbers above 1, and if the number format is set
to 'general'

The formula works, but here's the problem: If the result ends in zero (e.g.
2.0), Excel only displays the last non-zero integer (e.g. 2). Since the last
zero is significant, this is a problem.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
large text amount in cell will not display in the cell dbelch01 Excel Discussion (Misc queries) 3 June 15th 05 03:43 PM
Need Workaround for Cell Display Limitation in Excel 2000 Kevin Excel Discussion (Misc queries) 5 April 20th 05 11:33 PM
Significant figures (not decimal places) Gene Solomon Excel Worksheet Functions 2 December 9th 04 09:42 PM
Conditional display of a .jpeg file? sbhogle Excel Discussion (Misc queries) 2 November 30th 04 05:57 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


All times are GMT +1. The time now is 10:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"