Solved

what excel function restricts my decimal places

Posted on 2012-04-07
3
291 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
[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
3 Comments
 
LVL 47

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 500 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

Technology Partners: 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

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

739 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