I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
and the value I get is Average 47.247619047619.
How can I round down to 1 decimal place?
I have tried number format but it does not make a difference
:-(
Ron Coderre - 08 May 2008 17:23 GMT
Try this:
A1 ="Average "&TEXT(AVERAGE(D:D),"0.0")
Does that help?
Post back if you have more questions.
--------------------------
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
gb_S49 - 08 May 2008 17:39 GMT
Perfect
Many Thanks
:-)
> Try this:
>
[quoted text clipped - 15 lines]
> > I have tried number format but it does not make a difference
> > :-(
Mike H - 08 May 2008 17:28 GMT
Maybe
="Average "&TEXT(AVERAGE(D:D),"0.00")
Mike
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
Mike H - 08 May 2008 17:29 GMT
You wanted 1 decimal place so
="Average "&TEXT(AVERAGE(D:D),"0.0")
Mike
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
Gaurav - 08 May 2008 17:29 GMT
Try this
="Average "&ROUND(AVERAGE(D:D),2)
>I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
Rick Rothstein (MVP - VB) - 08 May 2008 17:38 GMT
If you want to physically round the value to one decimal place (that is,
reduce its accuracy), then you have your answer in the other postings in
this thread. However, if you only want to display it to one decimal place,
but keep its full accuracy (perhaps for other calculations), then leave keep
your formula but Custom Format the cell (right click the cell and select
Format Cells) using 0.0 as the pattern.
Rick
>I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
David Biddulph - 08 May 2008 18:44 GMT
Are you sure, Rick? What effect does that have when the formula gives a
text result?
--
David Biddulph
> If you want to physically round the value to one decimal place (that is,
> reduce its accuracy), then you have your answer in the other postings in
[quoted text clipped - 10 lines]
>> I have tried number format but it does not make a difference
>> :-(
Rick Rothstein (MVP - VB) - 08 May 2008 18:53 GMT
Sooo, that is why everyone gave the TEXT function solution.<g>
I read too fast... totally missed the "Average "& part of his formula.
Thanks for catching that.
Rick
> Are you sure, Rick? What effect does that have when the formula gives a
> text result?
[quoted text clipped - 15 lines]
>>> I have tried number format but it does not make a difference
>>> :-(
Ron Rosenfeld - 08 May 2008 19:01 GMT
On Thu, 8 May 2008 12:38:11 -0400, "Rick Rothstein \(MVP - VB\)"
<rick.newsNO.SPAM@NO.SPAMverizon.net> wrote:
>If you want to physically round the value to one decimal place (that is,
>reduce its accuracy), then you have your answer in the other postings in
[quoted text clipped - 4 lines]
>
>Rick
I don't believe that will work since his formula is a concatenation of strings.
However, if he changed his formula to :
=AVERAGE(D:D)
And then used the Custom Format:
"Average "0.0
the result would be as he might want.
--ron
Rick Rothstein (MVP - VB) - 08 May 2008 19:08 GMT
Yes, David caught that too. I read the OP's post too fast (carelessly) and
missed the "Average "& part of his formula. Your suggestion is probably
what I would have offered had I read the posting more carefully. Thanks for
posting it.
Rick
> On Thu, 8 May 2008 12:38:11 -0400, "Rick Rothstein \(MVP - VB\)"
> <rick.newsNO.SPAM@NO.SPAMverizon.net> wrote:
[quoted text clipped - 22 lines]
> the result would be as he might want.
> --ron
gb_S49 - 08 May 2008 17:39 GMT
Perfect
Many Thanks
:-)
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
gb_S49 - 08 May 2008 17:40 GMT
Perfect
Many Thanks
:-)
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(
gb_S49 - 08 May 2008 17:40 GMT
Many Thanks
:-)
> I have entered the following in cell A1 ="Average "&AVERAGE(D:D)
> and the value I get is Average 47.247619047619.
> How can I round down to 1 decimal place?
> I have tried number format but it does not make a difference
> :-(