Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default 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.

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
custom number and random text format CAD Teacher Excel Discussion (Misc queries) 0 June 21st 06 11:56 AM
change custom format number to text joey Excel Discussion (Misc queries) 3 September 20th 05 09:35 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
zero supress leading zeros when chg format from text to number HeatherO Excel Worksheet Functions 4 February 27th 05 11:11 PM
Number is in a text format dbl Excel Worksheet Functions 1 February 19th 05 08:57 PM


All times are GMT +1. The time now is 01:18 AM.

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"