Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Spreadsheets   »   Round up in Excel

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Mar 29, 2006, 12:40 AM
Srecak
New Member
Srecak is offline
 
Join Date: Sep 2005
Location: Zagreb, HR
Posts: 9
Srecak See this member's comment history on his/her Profile page.
Round up in Excel

Hi!
I am wondering how to solve this:
numbers in one column need to be rounded to the nearest half decimal, for example: 0,4 - 0,5 0,7 - 1,0 1,4 - 1,5 1,1 - 1,5
Is there an easy way around this?! Could You help!!

Many thanks, You're all the best!

Srecak

Reply With Quote
 
     

Answers
 
 
Old Mar 29, 2006, 01:50 AM   #2  
RickJ
Administrator
RickJ is offline
 
RickJ's Avatar
 
Join Date: Aug 2005
Location: Cave 4, Qumran
Posts: 6,950
RickJ See this member's comment history on his/her Profile page.RickJ See this member's comment history on his/her Profile page.RickJ See this member's comment history on his/her Profile page.RickJ See this member's comment history on his/her Profile page.RickJ See this member's comment history on his/her Profile page.RickJ See this member's comment history on his/her Profile page.
Searching Excel Help I do not find rounding to the nearest half decimal as an option. (I'm using Excel 2002)

I only find rounding options for
up,
down,
nearest number, or
number of decimal places.

Comments on this post
Srecak agrees: Thanks Rick, but this doesn't really 'fix' my problem...
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 02:02 AM   #3  
colbtech
Senior Member
colbtech is offline
 
colbtech's Avatar
 
Join Date: Aug 2005
Location: Guernsey
Posts: 608
colbtech See this member's comment history on his/her Profile page.
Can't figure out how to do this in the entry cell but if you enter the following formula:

=IF(SUM(F8)-INT(F8)<0.5,INT(F8)+0.5,INT(F8))

in another cell, this does the job.

Note: F8 is your entry cell

Comments on this post
RickJ agrees: Good one, colbtech!
Srecak agrees: Colbtech, nice try, but when You put 0.9 yr calculation shows 0.0, not 1.0, as will 1.7 show 1.0 not 2.0...!
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 02:50 AM   #4  
cajalat
Full Member
cajalat is offline
 
Join Date: Jan 2006
Location: Boston, MA - USA
Posts: 426
cajalat See this member's comment history on his/her Profile page.
Install the Analysis Pak and use this function:

=CEILING(A1,0.5)

The value would be in A1

Casey
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 02:57 AM   #5  
cajalat
Full Member
cajalat is offline
 
Join Date: Jan 2006
Location: Boston, MA - USA
Posts: 426
cajalat See this member's comment history on his/her Profile page.
Actually I just realized that you don't need the Analysis Pak for the CEILING function but if you do want to use that pak go to TOOLS -> Add-Ins and then check the Analysis Pak. It has functions such as MROUND which you might find handy.

Casey

Comments on this post
Srecak agrees: Cajalat! You are the MAN!!!!! Many thanks, Srecak
RickJ agrees: Nice wrap up cajalat!
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 03:37 AM   #6  
cajalat
Full Member
cajalat is offline
 
Join Date: Jan 2006
Location: Boston, MA - USA
Posts: 426
cajalat See this member's comment history on his/her Profile page.
Colbtech,

Your formula wasn't too far off and you were on the right track. I think this is what you were gunning for:

Code:
=IF(F8-INT(F8)<=0.5,IF(MOD(F8,1)=0,F8,INT(F8)+0.5),ROUNDUP(F8,0))

Casey
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 03:40 AM   #7  
cajalat
Full Member
cajalat is offline
 
Join Date: Jan 2006
Location: Boston, MA - USA
Posts: 426
cajalat See this member's comment history on his/her Profile page.
Srecak,

Glad to help and thanks for letting us know that it worked for you

Casey
  Reply With Quote
 
     
 
 
Old Mar 29, 2006, 04:58 AM   #8  
colbtech
Senior Member
colbtech is offline
 
colbtech's Avatar
 
Join Date: Aug 2005
Location: Guernsey
Posts: 608
colbtech See this member's comment history on his/her Profile page.
thanks caj,

I looked at my formula.....must have been a bad day. Should have taken a little more time to check! That'll teach me.
  Reply With Quote
 
     
 
 
Old Feb 26, 2007, 11:52 AM   #9  
gr8one
New Member
gr8one is offline
 
Join Date: Feb 2007
Posts: 1
gr8one See this member's comment history on his/her Profile page.
ceiling will not always give the rounded value:
ceiling(22.1,0.5)=22.5
but rounding it to nearest val should be 22.0

try this: =ROUND(A1/0.5,0) * 0.5
which would return : 22 for 22.1 , 22.5 for 22.3
ceiling and floor in one function!!!!
  Reply With Quote
 
     
 
 
Old Jun 21, 2007, 01:59 AM   #10  
ian_6800
New Member
ian_6800 is offline
 
Join Date: Jun 2007
Posts: 1
ian_6800 See this member's comment history on his/her Profile page.
Quote:
Originally Posted by gr8one
ceiling will not always give the rounded value:
ceiling(22.1,0.5)=22.5
but rounding it to nearest val should be 22.0

try this: =ROUND(A1/0.5,0) * 0.5
which would return : 22 for 22.1 , 22.5 for 22.3
ceiling and floor in one function!!!!

This is great... but .. is it possible to round to to 2 decimal places

eg.

10.00 - 10.24 = rounded down to 10

10.25 - 10.49 = rounded up to 10.5

10.5 - 10.74 = rounded down to 10.5

10.75 - 10.9 = rounded up to 11
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
FightNIght Round 3 binx44 Video Games 0 Sep 14, 2006 02:58 AM
US eliminated in the first round at the world cup kylew Football (European) / Soccer 4 Jun 23, 2006 12:20 PM
Round and Round wizzkid89 The Lounge 2 Jun 20, 2006 01:52 AM
the round green pills!!! renajay Medications 3 Mar 3, 2006 07:33 PM
Round Trip times Natasha Khan Networking 4 Sep 20, 2005 04:21 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 06:07 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.