Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2015, 03:04 AM
Guloluseus Guloluseus is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 32bit
Competent Performer
Rounding to nearest 0.25
 
Join Date: Mar 2013
Posts: 168
Guloluseus is on a distinguished road
Default Rounding to nearest 0.25

I have a table of task durations which have been calculated from actual dimensions (length, area etc) which are then divided by the expected outputs to get a total duration.

This gives me a column of numbers representing task durations in days. To use this, I need to round up each duration to the nearest quarter day to avoid problems.

In this case if I had 2.1, 2.224, 2.06, all would need to be rounded to 2.25, and 2.55, 2.7, 2.6 would need to be rounded up to 2.75. Tasks are all below 20 days, so range is 0-20.



Thanks in advance
Reply With Quote
  #2  
Old 10-27-2015, 03:16 AM
Guloluseus Guloluseus is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 32bit
Competent Performer
Rounding to nearest 0.25
 
Join Date: Mar 2013
Posts: 168
Guloluseus is on a distinguished road
Default

I just solved this- suffered from a case of number blindness at the last hurdle I was trying to use mround but it rounded to the nearest 0.25- I used an IF statement so that if the new value was less than the original it moved it up a band.

Yay!
Reply With Quote
  #3  
Old 10-27-2015, 04:06 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

You also have the CEILING function

=CEILING(B22,0.25)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 10-27-2015, 04:41 AM
Guloluseus Guloluseus is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 32bit
Competent Performer
Rounding to nearest 0.25
 
Join Date: Mar 2013
Posts: 168
Guloluseus is on a distinguished road
Default

Thanks- much easier than my solution!

The biggest problem I have with Excel is not knowing the functions. While it often has an easy way out, if you don't know about it, you are unlikely to find it. Google gave me mround and I figured out the IF statement, but didn't throw up ceiling as an alternative.
Reply With Quote
  #5  
Old 10-27-2015, 08:54 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

That's understandable. There are lots of functions, and each versions has it's new ones.

And I supposed you guessed that if there is a CEILING function, there also is a FLOOR function :-)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #6  
Old 10-27-2015, 11:28 PM
macropod's Avatar
macropod macropod is offline Rounding to nearest 0.25 Windows 7 64bit Rounding to nearest 0.25 Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

More easily understood for most people:
=ROUND(A1*4,0)/4
Works with ROUNDUP & ROUNDDOWN, too.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word not 'rounding' letters up to word in next line (parents and orphans) Asa Word 4 09-13-2014 06:47 PM
Rounding values inconsistent required_username Excel 10 06-05-2014 05:35 AM
Custom formatting code - rounding problem venkys4u Excel 1 08-14-2012 07:45 PM
Rounding to nearest 0.25 Standard Dev. Rounding - Excel judicial85 Excel 1 08-28-2011 05:41 PM
Rounding to nearest 0.25 Federal financial rounding? markg2 Excel 6 05-26-2010 09:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft