Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel: Return number within text so it has a comma

Posted on 2014-04-13
2
Medium Priority
?
296 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 2000 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

609 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