ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I format the number in a formular that contain text? (https://www.excelbanter.com/excel-worksheet-functions/129841-how-do-i-format-number-formular-contain-text.html)

Junhue

how do I format the number in a formular that contain text?
 
I'm using Excel 2000 and would like to format the number in the following
formular with zero decimal places. ="AVG" &" "&averagea(D5:AB5) which
returns 2787.375.


JE McGimpsey

how do I format the number in a formular that contain text?
 
One way:

="AVG " & TEXT(AVERAGEA(D5:AB5),"0")

or

="AVG " & ROUND(AVERAGEA(D5:AB5),0)


In article ,
Junhue wrote:

I'm using Excel 2000 and would like to format the number in the following
formular with zero decimal places. ="AVG" &" "&averagea(D5:AB5) which
returns 2787.375.


Gary''s Student

how do I format the number in a formular that contain text?
 
="AVG"&" "& TEXT(AVERAGEA(D5:AB5),"0.000")
--
Gary's Student
gsnu200704


"Junhue" wrote:

I'm using Excel 2000 and would like to format the number in the following
formular with zero decimal places. ="AVG" &" "&averagea(D5:AB5) which
returns 2787.375.



All times are GMT +1. The time now is 03:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com