Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

what excel function restricts my decimal places

Posted on 2012-04-07
3
Medium Priority
?
302 Views
Last Modified: 2012-04-08
I want to show a daily pay to 2 places.  What function do I need if A1 is your monthly income?   My cell is:

="your daily pay is:" & A1/30

This does not restrict "A1/30" to 2 decimal places as I need.
0
Comment
Question by:dwcronin
3 Comments
 
LVL 49

Expert Comment

by:Martin Liss
ID: 37820352
Go to Format->Cells->Number and choose 2 decimal places.
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 2000 total points
ID: 37820363
Change your formula as below to roundup to 2 decimal places.
="your daily pay is:" & ROUND(A1/30,2)
0
 

Author Closing Comment

by:dwcronin
ID: 37821085
MartinLiss:
Thank you for the effort but your solution doesn't work if you have a mixture of text and numbers in your cell.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

886 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