Solved

Excel: Return number within text so it has a comma

Posted on 2014-04-13
2
286 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
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…

763 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