Solved

Excel: Return number within text so it has a comma

Posted on 2014-04-13
2
287 Views
Last Modified: 2014-04-13
Hello,

I have the following formula in an excel cell:

="Test text $"&TEXT(C10,"#.00")&" test text"

I would like the integer value in the middle to return with a comma separator.

e.g currently this formula returns:
Test text $1200.50 test text

But I want:
Test text $1,200.50 test text

How do I edit the formula so it returns the comma?
0
Comment
Question by:dabug80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
ID: 39998258
Here you go:
="Test text $" & TEXT(C10,"#,###.00") & " test text"

Open in new window

And here's another way:
="Test text " & TEXT(C10,"$#,###.00" ) & " test text"

Open in new window

Ron
0
 
LVL 1

Author Closing Comment

by:dabug80
ID: 39998285
Perfect. Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question