A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using text and formatting sum function in formula



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2010, 03:27 PM posted to microsoft.public.excel.worksheet.functions
Billy B
external usenet poster
 
Posts: 42
Default Using text and formatting sum function in formula

I am attempting to show text in a cell concatenated with the sum function and
it works fine. The problem is the result has 10 decimal places in the
resulting number. I have tried to use the format function with the sum
function without success. Here is the formula I am working with:

="Total is: " & Format(SUM(B96:B104),"0.00")

What am I doing wrong?
Thank you.
  #2  
Old April 16th, 2010, 03:42 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Using text and formatting sum function in formula

Try it like this...

="Total is: "&ROUND(SUM(B96:B104),2)

--
Biff
Microsoft Excel MVP


"Billy B" wrote in message
...
I am attempting to show text in a cell concatenated with the sum function
and
it works fine. The problem is the result has 10 decimal places in the
resulting number. I have tried to use the format function with the sum
function without success. Here is the formula I am working with:

="Total is: " & Format(SUM(B96:B104),"0.00")

What am I doing wrong?
Thank you.



  #3  
Old April 16th, 2010, 04:09 PM posted to microsoft.public.excel.worksheet.functions
Squeaky
external usenet poster
 
Posts: 131
Default Using text and formatting sum function in formula

Hi Billy,

Try using the ROUND function.

="Total is: "&ROUND(SUM(B2:B3),2)

Omit the spaces around the &.

Squeaky

"Billy B" wrote:

I am attempting to show text in a cell concatenated with the sum function and
it works fine. The problem is the result has 10 decimal places in the
resulting number. I have tried to use the format function with the sum
function without success. Here is the formula I am working with:

="Total is: " & Format(SUM(B96:B104),"0.00")

What am I doing wrong?
Thank you.

  #4  
Old April 16th, 2010, 05:53 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default Using text and formatting sum function in formula

The function is TEXT, not FORMAT
--
David Biddulph


"Billy B" wrote in message
...
I am attempting to show text in a cell concatenated with the sum function
and
it works fine. The problem is the result has 10 decimal places in the
resulting number. I have tried to use the format function with the sum
function without success. Here is the formula I am working with:

="Total is: " & Format(SUM(B96:B104),"0.00")

What am I doing wrong?
Thank you.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.