A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Selective Precision as Displayed



 
 
Thread Tools Display Modes
  #1  
Old January 18th, 2010, 11:25 PM posted to microsoft.public.excel.setup
Montana
external usenet poster
 
Posts: 39
Default Selective Precision as Displayed

I have a series of worksheets that work pricing functions in my workbook. I
need to use the Precision as Displayed in order for Excel to arrive at the
right pricing. But one of the sections that I need to add to this workbook
would require Precision as Displayed to be bypassed in order to arrive at the
desired result. Is there a way to have Precision as Displayed checked in the
workbook, yet reserve an area on a worksheet, or an entire sheet where
Precision as Displayed could be bypassed? Thank you in advance.
  #2  
Old January 19th, 2010, 03:35 PM posted to microsoft.public.excel.setup
Niek Otten
external usenet poster
 
Posts: 2,533
Default Selective Precision as Displayed

I don't think you can.
But there are several ways around.

First, instead of relying on "Precision as displayed", you might use ROUND()
to calculate and display with a specified number of decimals.

Second, note that "Precision as displayed" is not a correct description of
this feature. It should have been something like "Precision as formatted".
For example, if you have =1/3 in a cell of only a few characters wide,
formatted as General, it displays 0.33 or 0.333. But is still calculates
with the "full" precision, that is, Excel's maximum precision of 15
significant decimal digits.
So if you don't format the area that you want to exclude from "Precision as
displayed", or format it as General, Excel will not apply any limits on the
precision.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Montana" wrote in message
...
I have a series of worksheets that work pricing functions in my workbook. I
need to use the Precision as Displayed in order for Excel to arrive at the
right pricing. But one of the sections that I need to add to this workbook
would require Precision as Displayed to be bypassed in order to arrive at
the
desired result. Is there a way to have Precision as Displayed checked in
the
workbook, yet reserve an area on a worksheet, or an entire sheet where
Precision as Displayed could be bypassed? Thank you in advance.


  #3  
Old January 20th, 2010, 06:38 AM posted to microsoft.public.excel.setup
Montana
external usenet poster
 
Posts: 39
Default Selective Precision as Displayed

Thanks, Niek. I was hoping for an easier fix than having to rewrite all those
formulas to include the round function, but I'll bite the bullet & do it the
right way. Thanks again.

"Niek Otten" wrote:

I don't think you can.
But there are several ways around.

First, instead of relying on "Precision as displayed", you might use ROUND()
to calculate and display with a specified number of decimals.

Second, note that "Precision as displayed" is not a correct description of
this feature. It should have been something like "Precision as formatted".
For example, if you have =1/3 in a cell of only a few characters wide,
formatted as General, it displays 0.33 or 0.333. But is still calculates
with the "full" precision, that is, Excel's maximum precision of 15
significant decimal digits.
So if you don't format the area that you want to exclude from "Precision as
displayed", or format it as General, Excel will not apply any limits on the
precision.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Montana" wrote in message
...
I have a series of worksheets that work pricing functions in my workbook. I
need to use the Precision as Displayed in order for Excel to arrive at the
right pricing. But one of the sections that I need to add to this workbook
would require Precision as Displayed to be bypassed in order to arrive at
the
desired result. Is there a way to have Precision as Displayed checked in
the
workbook, yet reserve an area on a worksheet, or an entire sheet where
Precision as Displayed could be bypassed? Thank you in advance.


  #4  
Old January 20th, 2010, 04:15 PM posted to microsoft.public.excel.setup
Niek Otten
external usenet poster
 
Posts: 2,533
Default Selective Precision as Displayed

Ok. Remember that you don't have to if you can format the ranges that you
don't want to calculate with the shown precision as General.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Montana" wrote in message
...
Thanks, Niek. I was hoping for an easier fix than having to rewrite all
those
formulas to include the round function, but I'll bite the bullet & do it
the
right way. Thanks again.

"Niek Otten" wrote:

I don't think you can.
But there are several ways around.

First, instead of relying on "Precision as displayed", you might use
ROUND()
to calculate and display with a specified number of decimals.

Second, note that "Precision as displayed" is not a correct description
of
this feature. It should have been something like "Precision as
formatted".
For example, if you have =1/3 in a cell of only a few characters wide,
formatted as General, it displays 0.33 or 0.333. But is still calculates
with the "full" precision, that is, Excel's maximum precision of 15
significant decimal digits.
So if you don't format the area that you want to exclude from "Precision
as
displayed", or format it as General, Excel will not apply any limits on
the
precision.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Montana" wrote in message
...
I have a series of worksheets that work pricing functions in my
workbook. I
need to use the Precision as Displayed in order for Excel to arrive at
the
right pricing. But one of the sections that I need to add to this
workbook
would require Precision as Displayed to be bypassed in order to arrive
at
the
desired result. Is there a way to have Precision as Displayed checked
in
the
workbook, yet reserve an area on a worksheet, or an entire sheet where
Precision as Displayed could be bypassed? Thank you in advance.



  #5  
Old January 20th, 2010, 08:13 PM posted to microsoft.public.excel.setup
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Selective Precision as Displayed

This macro will help you re-write them.

Sub RoundAdd()
Dim mystr As String
Dim cel As Range
For Each cel In Selection
If cel.HasFormula = True Then
If Not cel.Formula Like "=ROUND(*" Then
mystr = Right(cel.Formula, Len(cel.Formula) - 1)
cel.Value = "=ROUND(" & mystr & ",0)"
End If
End If
Next
End Sub


Gord Dibben MS Excel MVP

On Tue, 19 Jan 2010 21:38:02 -0800, Montana
wrote:

Thanks, Niek. I was hoping for an easier fix than having to rewrite all those
formulas to include the round function, but I'll bite the bullet & do it the
right way. Thanks again.

"Niek Otten" wrote:

I don't think you can.
But there are several ways around.

First, instead of relying on "Precision as displayed", you might use ROUND()
to calculate and display with a specified number of decimals.

Second, note that "Precision as displayed" is not a correct description of
this feature. It should have been something like "Precision as formatted".
For example, if you have =1/3 in a cell of only a few characters wide,
formatted as General, it displays 0.33 or 0.333. But is still calculates
with the "full" precision, that is, Excel's maximum precision of 15
significant decimal digits.
So if you don't format the area that you want to exclude from "Precision as
displayed", or format it as General, Excel will not apply any limits on the
precision.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Montana" wrote in message
...
I have a series of worksheets that work pricing functions in my workbook. I
need to use the Precision as Displayed in order for Excel to arrive at the
right pricing. But one of the sections that I need to add to this workbook
would require Precision as Displayed to be bypassed in order to arrive at
the
desired result. Is there a way to have Precision as Displayed checked in
the
workbook, yet reserve an area on a worksheet, or an entire sheet where
Precision as Displayed could be bypassed? Thank you in advance.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:20 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.