Solved

Excel: Return number within text so it has a comma

Posted on 2014-04-13
2
282 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
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
Comment Utility
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
Comment Utility
Perfect. Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now