Solved

what excel function restricts my decimal places

Posted on 2012-04-07
3
252 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 45

Expert Comment

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

Accepted Solution

by:
Anuroopsundd earned 500 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Excel Limitation 2 25
Excel 2013 Problem 12 44
Vba to delete entire row 6 25
Splitting out Data 14 26
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
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 create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

728 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

10 Experts available now in Live!

Get 1:1 Help Now