# Numeric formatting problem

1. ## Numeric formatting problem

When a calculation goes out to 10 decimal places I can use the cell format to
limit it to 2 places. But when I add (cancatenate ?) text to that
calculation it goes out to 10 places again. How can I make this not happen.

example:
=1/3 shows 0.333333333333
=1/3 shows 0.33 when cell formatted to 2 decimals
=1/3&" ml/hr" shows 0.333333333333 ml/hr EVEN THOUGH THE CELL IS FORMATTED
to only 2 decimal places.

TIA for any help.
Sam

2. ## Re: Numeric formatting problem

Changing number format doesn't change what's stored in the cell, and
functions operate on stored values, not displayed values. Try using the

=TEXT(1/3,"0.00") & "ml/hr"

> When a calculation goes out to 10 decimal places I can use the cell format to
> limit it to 2 places. But when I add (cancatenate ?) text to that
> calculation it goes out to 10 places again. How can I make this not happen.
>
> example:
> =1/3 shows 0.333333333333
> =1/3 shows 0.33 when cell formatted to 2 decimals
> =1/3&" ml/hr" shows 0.333333333333 ml/hr EVEN THOUGH THE CELL IS FORMATTED
> to only 2 decimal places.

3. ## Re: Numeric formatting problem

Numeric formatting applies only to numbers and not text.

Try:

=TEXT(1/3,"0.00")&" ml/hr"

--

Vasant

> When a calculation goes out to 10 decimal places I can use the cell format

to
> limit it to 2 places. But when I add (cancatenate ?) text to that
> calculation it goes out to 10 places again. How can I make this not

happen.
>
> example:
> =1/3 shows 0.333333333333
> =1/3 shows 0.33 when cell formatted to 2 decimals
> =1/3&" ml/hr" shows 0.333333333333 ml/hr EVEN THOUGH THE CELL IS FORMATTED
> to only 2 decimal places.
>
> TIA for any help.
> Sam

4. ## Re: Numeric formatting problem

Then, there's always the "other" option of rounding:

=ROUND(1/3,2)&" ml/hr"
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> When a calculation goes out to 10 decimal places I can use the cell format

to
> limit it to 2 places. But when I add (cancatenate ?) text to that
> calculation it goes out to 10 places again. How can I make this not

happen.
>
> example:
> =1/3 shows 0.333333333333
> =1/3 shows 0.33 when cell formatted to 2 decimals
> =1/3&" ml/hr" shows 0.333333333333 ml/hr EVEN THOUGH THE CELL IS FORMATTED
> to only 2 decimal places.
>
> TIA for any help.
> Sam

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1