Excel Rounding to 0.25 from Mr Excel


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Rounding to 0.25
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

Mel C Roberts
Board Regular


Joined: 27 Feb 2002
Posts: 34
Location: England

Status: Offline

 Reply with quote  

Rounding to 0.25

Please help.

I need to round information in a spreadsheet to the nearest 0.25
So data either reads, for example, 1.25, 1.50, 1.75 or 2.00 and nothing in between i.e. if the value is 1.3 it would round down to 1.25 and if it was 1.4 it would round up to 1.5

I am sure this is not too tricky but is driving me crazy!!

Please help icon_help.gif

Post Tue Mar 30, 2004 9:56 am 
 View user's profile Send private message

rafaaj2000
Board Master
Board  Master


Joined: 06 Dec 2002
Posts: 1002
Location: Larache--Morocco
Flag: Morocco

Status: Offline

 Reply with quote  

Re: Rounding to 0.25

Hi,

Use the Ceiling and Floor functions as :

=CEILING(A1,0.25)
=Floor(A1,0.25)

Regards.
_________________
Jaafar. icon_cool.gif.

Excel2002 Under Windows XP.

Post Tue Mar 30, 2004 10:03 am 
 View user's profile Send private message Send e-mail

Richie(UK)
MrExcel MVP


Joined: 18 May 2002
Posts: 2497
Location: UK
Flag: Uk

Status: Offline

 Reply with quote  

Re: Rounding to 0.25

Hi Mel,

How about MRound from the Analysis toolpack?


Microsoft Excel - Book1___Running: xl97 : OS = Windows ME
(F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
=

A
B
C
D
1
0.650.75  
2
0.800.75  
3
1.301.25  
4
1.401.50  
5
1.511.50  
6
1.651.75  
7
1.731.75  
Sheet1 

[HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.



HTH
_________________
Richie

Post Tue Mar 30, 2004 10:04 am 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.