Solved

Excel: Return number within text so it has a comma

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

729 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