Hello everybody,
I have a text string in Excel that contains percentage values taken
from different cells. However, the text string reads the percentage
value and outputs it as a decimal:
Percent defects of 0.678276052493135, 0.674664937815204 and
0.57388331030011.
Here is the code:
="Percent defects of "&N2&", "&N3&" and "&N4&"." (Cells N2, N3 and N4
contain percentages)
I hope I'm not missing a very simple solution here.
Thanks!
Brian
Niek Otten - 22 Nov 2006 17:06 GMT
Hi Brian,
="Percent defects of "&TEXT(N2,"0.00%") etc

Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
| Hello everybody,
|
[quoted text clipped - 14 lines]
| Thanks!
| Brian
Pete_UK - 22 Nov 2006 17:10 GMT
Try this, Brian:
="Percent defects of "&TEXT(N2,"0.0%")&", "&TEXT(N3,"0.0%")&" and
"&TEXT(N4,"0.0%")&"."
Hope this helps.
Pete
> Hello everybody,
>
[quoted text clipped - 14 lines]
> Thanks!
> Brian
Ken Puls - 22 Nov 2006 17:12 GMT
="Percent defects of "&TEXT(N2,"0.0%")&", "&TEXT(N3,"0.0%")&" and
"&TEXT(N4,"0.0%")&"."
HTH
Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca
> Hello everybody,
>
[quoted text clipped - 14 lines]
> Thanks!
> Brian
Brian - 22 Nov 2006 17:41 GMT
Thank you to everybody who contributed to this excellent team effort!
Brian
> ="Percent defects of "&TEXT(N2,"0.0%")&", "&TEXT(N3,"0.0%")&" and
> "&TEXT(N4,"0.0%")&"."
[quoted text clipped - 22 lines]
> > Thanks!
> > Brian