Excel formula Question-Rounding

Star79
Star79 used Ask the Experts™
on
I have a requirement in my excel sheet that if the cell value is like 128.0304, I have to round it to 128.04, another example 77.001 to 77.01, another example 76.85483 to 76.86.IS this doable in excel formula.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
Use this assuming you got value in A1..then formula in b1 will be...

=round(a1,2)

This will round it two decimal places...

Saurabh....

Author

Commented:
but there is a problem with that rounding as you can see 77.001 is rounding to 77 but it should round to 77.01 also i tried 76.85483 this rounded to 76.85 but I want to see to the next penny which is 76.86
Subodh Tiwari (Neeraj)Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015

Commented:
Only rounding will not give you the output you are expecting. You will need to try it like this....
Assuming your number is in A1 then...
=ROUND(A1,2)+0.01

Open in new window

Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Top Expert 2015
Commented:
I'm not sure why you want to round it upwards you can do something like this..

=ROUNDUP(A1,2)

It will round up to what you want..

Saurabh...
Subodh Tiwari (Neeraj)Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015

Commented:
Or rather use Roundup like this.....

=ROUNDUP(A1,2)

Open in new window

Subodh Tiwari (Neeraj)Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015

Commented:
@Saurabh
You were pretty fast on this. :)
Top Expert 2015

Commented:
@Sktneer,

I need to..I know talented experts like you are here..and if i need to beat you to it..i need to be fast.. :-)

Saurabh...
Subodh Tiwari (Neeraj)Excel & VBA Expert
Most Valuable Expert 2018
Awarded 2015

Commented:
lol. For me it's time to logoff now. See you in another thread. :)
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
I've requested that this question be closed as follows:

Accepted answer: 500 points for saurabh726's comment #a41388619

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial