 |
|
|
 |
New Member
|
|
Mar 29, 2006, 02:40 AM
|
|
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 please help!
Many thanks, You're all the best!
Srecak:) :confused: :)
|
|
 |
Uber Member
|
|
Mar 29, 2006, 03:50 AM
|
|
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.
|
|
 |
Senior Member
|
|
Mar 29, 2006, 04:02 AM
|
|
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
|
|
 |
Full Member
|
|
Mar 29, 2006, 04:50 AM
|
|
Install the Analysis Pak and use this function:
=CEILING(A1,0.5)
The value would be in A1
Casey
|
|
 |
Full Member
|
|
Mar 29, 2006, 04:57 AM
|
|
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
|
|
 |
Full Member
|
|
Mar 29, 2006, 05:37 AM
|
|
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
|
|
 |
Full Member
|
|
Mar 29, 2006, 05:40 AM
|
|
Srecak,
Glad to help and thanks for letting us know that it worked for you :)
Casey
|
|
 |
Senior Member
|
|
Mar 29, 2006, 06:58 AM
|
|
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.
|
|
 |
New Member
|
|
Feb 26, 2007, 01:52 PM
|
|
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!!
|
|
 |
New Member
|
|
Jun 21, 2007, 02:59 AM
|
|
 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
e.g..
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
|
|
 |
New Member
|
|
Nov 14, 2007, 03:44 PM
|
|
Hi you could try the following formula
=IF(SUM(F24)-INT(F24)=0.25,SUM(F24)-INT(F24)=0.75,INT(F24)+1,F24)))
Assuming that Cell F24 is holding the value that you want to round up or down.
Hope it helps
Dil
|
|
 |
New Member
|
|
Mar 17, 2008, 12:16 AM
|
|
I Understand Your Problem. So
Try Out This Formula Its Really Works
=round(a1/1,0)*1
Note: Enter Value In A1
And Formula In Different Place
Mohan Chauhan,ropar
|
|
 |
Software Expert
|
|
Mar 19, 2008, 09:28 AM
|
|
This thread is two years old... probably don't need any more responses.
|
|
Question Tools |
Search this Question |
|
|
Add your answer here.
Check out some similar questions!
Round and Round
[ 2 Answers ]
How much do you guys travel? I feel like I travel a lot, and I do probably more than the average teenager, but I know there are like tons of people out there that travel constantly for business purposes. I'm just tired of traveling. I use to like airplanes as a kid, or at least not like them,...
The round green pills!
[ 3 Answers ]
Can someone help me by telling me what are the green round pills are and what are they for? It says barr on it and in the back it says 555/585 I would appreciate it if someone could let me know
Thank u
Round Trip times
[ 4 Answers ]
My Question is if Series of Round trip times(RTT) is given.Then how can we find out The Smoothed RTT,The Deviation in RTT,The Time out interval at each value.
View more questions
Search
|