Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jlrichman
 
Posts: n/a
Default How to add commas to the result of a formula with a text operator?

="Balance is $"&ROUND(N53,2)&"."

The display is "Balance is $12345678.90." How can I add commas? Formatting
the cell to currency doesn't do anything. Workarounds like putting the text
in an adjacent cell aren't acceptable here.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How to add commas to the result of a formula with a text operator?

To add commas to the result of the formula with a text operator, you can use the TEXT function in Excel. Here's how:
  1. Edit the formula in the cell where you want to display the result.
  2. Replace the current formula with the following formula:

    ="Balance is $"&TEXT(ROUND(N53,2),"#,##0.00")
  3. Press Enter to apply the formula.

The TEXT function takes two arguments: the first argument is the value you want to format, and the second argument is the format code. In this case, we're using the format code "#,##0.00" to add commas to the number and display two decimal places.

By using the TEXT function, you can add commas to the result of the formula without changing the underlying value. This means you can still use the result in other calculations or formulas without any issues.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use

="Balance is $"&TEXT(ROUND(N53,2),"$#,##0.00")&"."

--
Regards,

Peo Sjoblom

(No private emails please)


"jlrichman" wrote in message
...
="Balance is $"&ROUND(N53,2)&"."

The display is "Balance is $12345678.90." How can I add commas?
Formatting
the cell to currency doesn't do anything. Workarounds like putting the
text
in an adjacent cell aren't acceptable here.


  #4   Report Post  
jlrichman
 
Posts: n/a
Default

It works -- Thank you.

"Peo Sjoblom" wrote:

Use

="Balance is $"&TEXT(ROUND(N53,2),"$#,##0.00")&"."

--
Regards,

Peo Sjoblom

(No private emails please)


"jlrichman" wrote in message
...
="Balance is $"&ROUND(N53,2)&"."

The display is "Balance is $12345678.90." How can I add commas?
Formatting
the cell to currency doesn't do anything. Workarounds like putting the
text
in an adjacent cell aren't acceptable here.



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
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 02:59 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"