Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Set fixed Decimal places with no rounding

Hi.

Im trying to cut off the extra decimal places. i only want it to be 1dp or
2dp depending on the place. I used the LEFT function for the whole numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. 90.3985=90.3 90.333 = 90.3

The number is a result of a calculation.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Set fixed Decimal places with no rounding

On Jul 3, 8:33*pm, azza wrote:
Hi.

Im trying to cut off the extra decimal places. *i only want it to be 1dp or
2dp depending on the place. I used the LEFT function for the whole numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. * * *90.3985=90.3 * * *90.333 = 90.3

The number is a result of a calculation.

Thanks.


TRUNC( 90.789, 1) = 90.7
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Set fixed Decimal places with no rounding

Fantastic.

Had tobe something simple. It does not seem to let me to different number of
dp though. ie 90.7898 = 90.78 even after changing the no of digits to 2....

Thanks.

"recrit" wrote:

On Jul 3, 8:33 pm, azza wrote:
Hi.

Im trying to cut off the extra decimal places. i only want it to be 1dp or
2dp depending on the place. I used the LEFT function for the whole numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. 90.3985=90.3 90.333 = 90.3

The number is a result of a calculation.

Thanks.


TRUNC( 90.789, 1) = 90.7

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Set fixed Decimal places with no rounding

"90.7898 = 90.78 even after changing the no of digits to 2"

Isn't that what you want?

Regards,
Fred.

"azza" wrote in message
...
Fantastic.

Had tobe something simple. It does not seem to let me to different number
of
dp though. ie 90.7898 = 90.78 even after changing the no of digits to
2....

Thanks.

"recrit" wrote:

On Jul 3, 8:33 pm, azza wrote:
Hi.

Im trying to cut off the extra decimal places. i only want it to be
1dp or
2dp depending on the place. I used the LEFT function for the whole
numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. 90.3985=90.3 90.333 =
90.3

The number is a result of a calculation.

Thanks.


TRUNC( 90.789, 1) = 90.7


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Set fixed Decimal places with no rounding

Sweet.... Found the problem, there was formatting on the cell.. Changed it
back to General and it works. Thanks heaps.

"Fred Smith" wrote:

"90.7898 = 90.78 even after changing the no of digits to 2"

Isn't that what you want?

Regards,
Fred.

"azza" wrote in message
...
Fantastic.

Had tobe something simple. It does not seem to let me to different number
of
dp though. ie 90.7898 = 90.78 even after changing the no of digits to
2....

Thanks.

"recrit" wrote:

On Jul 3, 8:33 pm, azza wrote:
Hi.

Im trying to cut off the extra decimal places. i only want it to be
1dp or
2dp depending on the place. I used the LEFT function for the whole
numbers,
and played with the =FIXED(A1,1) but this rounds the numbers.

Basically I want 90.789 to = '90.7'. 90.3985=90.3 90.333 =
90.3

The number is a result of a calculation.

Thanks.

TRUNC( 90.789, 1) = 90.7



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
Data validation with a fixed amount of decimal places [email protected] Excel Worksheet Functions 17 August 9th 07 12:44 PM
Data validation with a fixed amount of decimal places [email protected] Excel Worksheet Functions 0 August 8th 07 08:34 PM
Want Fixed Decimal places in only 1 column MikeElectricUtility Excel Discussion (Misc queries) 4 July 12th 06 09:11 PM
tools|options|Edit tab|fixed decimal places Jonathan Cooper Excel Discussion (Misc queries) 1 September 29th 05 02:36 PM
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. SUKYKITTY Excel Discussion (Misc queries) 3 July 6th 05 01:50 PM


All times are GMT +1. The time now is 08:52 PM.

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

About Us

"It's about Microsoft Excel"