Ask Experts Questions for FREE Help !
Ask
    Srecak's Avatar
    Srecak Posts: 11, Reputation: 1
    New Member
     
    #1

    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: :)
    RickJ's Avatar
    RickJ Posts: 7,762, Reputation: 864
    Uber Member
     
    #2

    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.
    colbtech's Avatar
    colbtech Posts: 748, Reputation: 66
    Senior Member
     
    #3

    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
    cajalat's Avatar
    cajalat Posts: 469, Reputation: 66
    Full Member
     
    #4

    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
    cajalat's Avatar
    cajalat Posts: 469, Reputation: 66
    Full Member
     
    #5

    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
    cajalat's Avatar
    cajalat Posts: 469, Reputation: 66
    Full Member
     
    #6

    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
    cajalat's Avatar
    cajalat Posts: 469, Reputation: 66
    Full Member
     
    #7

    Mar 29, 2006, 05:40 AM
    Srecak,

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

    Casey
    colbtech's Avatar
    colbtech Posts: 748, Reputation: 66
    Senior Member
     
    #8

    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.
    gr8one's Avatar
    gr8one Posts: 1, Reputation: 1
    New Member
     
    #9

    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!!
    ian_6800's Avatar
    ian_6800 Posts: 1, Reputation: 1
    New Member
     
    #10

    Jun 21, 2007, 02:59 AM
    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

    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
    dilpesh1's Avatar
    dilpesh1 Posts: 1, Reputation: 1
    New Member
     
    #11

    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
    m_ropar's Avatar
    m_ropar Posts: 1, Reputation: 1
    New Member
     
    #12

    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
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #13

    Mar 19, 2008, 09:28 AM
    This thread is two years old... probably don't need any more responses.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

US eliminated in the first round at the world cup [ 4 Answers ]

Yes its official! The U.S. number 5 ranking was the biggest joke in sports. Can we get some players that can score goals? What's with Bruce Arena playing a 4-5-1?

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