+ Reply to Thread
Results 1 to 20 of 20

ROUNDUP Function

Hybrid View

  1. #1
    Registered User
    Join Date
    12-09-2015
    Location
    Washington State
    MS-Off Ver
    Office 2013
    Posts
    3

    ROUNDUP Function

    I'm somewhat familiar with Excel, but I'm having some issues with the Roundup function. Right now, the value of the cell looks like this:

    =(M6+N6)/0.08

    which equals 412.5

    I'd like it to round up to the nearest round number, which would be 413, but whenever I use the roundup function, as I understand it, it doesn't work. This is what I'm trying, which obviously isn't working:

    =ROUNDUP((M6+N6)/0.08,0)

    Any help?

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: ROUNDUP Function

    That works for me.

    It is rounding up to 0 decimal places.
    Last edited by mehmetcik; 12-09-2015 at 02:29 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,942

    Re: ROUNDUP Function

    When you say "obviously isn't working", could you explain why it's not working?
    Works for me...

    BSB

  4. #4
    Registered User
    Join Date
    12-09-2015
    Location
    Winnipeg, MB
    MS-Off Ver
    Windows 7
    Posts
    52

    Re: ROUNDUP Function

    Hi,

    I'm new to this site and I don't know how to post a new thread so forgive me if replied to this thread with a different question.
    I just need help for below data. I have the data available for column A,B,& C and I want the result showing in column D&E.
    Can someone help me with the formula for D&E. Thanks in advance.

    A B C D E
    JIL MALAKIE 1232 AB20 1234F 117 3/9/2016 8:45 N*=.96 ANA-1232-1234F 09/Mar/16 08:45:00
    MALAKIE 1232 AB20 1234 118 3/7/2016 7:20 S=1.43 ANA-1231-1234 07/Mar/16 07:20:00

    Thanks,
    goya

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,655

    Re: ROUNDUP Function

    Quote Originally Posted by goya View Post
    I'm new to this site and I don't know how to post a new thread so forgive me if replied to this thread with a different question.
    Hi, welcome to the forum. Follow this to post a new thread: http://www.excelforum.com/faq.php
    Next time try to visit FAQ first before posting.
    Quang PT

  6. #6
    Registered User
    Join Date
    12-09-2015
    Location
    Winnipeg, MB
    MS-Off Ver
    Windows 7
    Posts
    52

    Re: ROUNDUP Function

    hello,

    thanks for your reply. actually I did visit the FAQ..but I can't find the blue button "post new thread" all I can see is "reply to this thread"

    Thanks,
    anabelle

  7. #7
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: ROUNDUP Function

    [.... deleted ....]
    Last edited by joeu2004; 12-09-2015 at 02:57 PM.

  8. #8
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: ROUNDUP Function

    ERRATA....
    Quote Originally Posted by goya View Post
    I can't find the blue button "post new thread" all I can see is "reply to this thread"
    The "+Post New Thread" button appears on the first webpage when you go to excelforum.com and click on a Forum category.

    But only after you log in.

  9. #9
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,655

    Re: ROUNDUP Function

    What is value of M6 and N6?

  10. #10
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,942

    Re: ROUNDUP Function

    Quote Originally Posted by bebo021999 View Post
    What is value of M6 and N6?
    Bizarrely, I randomly chose 11 and 22 to test this and it worked. Lucky guess!

  11. #11
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: ROUNDUP Function

    Quote Originally Posted by BadlySpelledBuoy View Post
    Bizarrely, I randomly chose 11 and 22 to test this and it worked. Lucky guess!
    Gosh, I hope not! Are you being facetious?

    If (M6+N6)/0.08 is 412.5, then M6+N6 = 412.5*0.8 = 33. So obviously 11+22 = 33 is one combination that works. Then, again, so are a myriad of other pairs of numbers.

    Moreover, "412.5" might be any value between 412.45 and 412.55; well, 412.549999999999. We don't know if jamesberg is talking about an exact value or a displayed value.
    Last edited by joeu2004; 12-09-2015 at 02:46 PM. Reason: typo: 12->22

  12. #12
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,942

    Re: ROUNDUP Function

    Quote Originally Posted by joeu2004 View Post
    Gosh, I hope not! Are you being facetious?
    Not at all, I really did just pic the numbers at random and hey presto!

    And for the OP. Here's your file with the formula you put in your original post. Works fine.

    BSB
    Attached Files Attached Files

  13. #13
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: ROUNDUP Function

    Agree with BSB, it's not 'Obvious' what is wrong.
    It works fine for me as well.

    Describe in what way it's not working, do you get the wrong result? What result DID you get?
    What are the values in the 2 cells?
    Perhaps post a sample workbook.

  14. #14
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: ROUNDUP Function

    Quote Originally Posted by jamesberg View Post
    I'm Right now, the value of the cell looks like this:
    =(M6+N6)/0.08
    which equals 412.5
    I'd like it to round up to the nearest round number, which would be 413, but whenever I use the roundup function, as I understand it, it doesn't work. This is what I'm trying, which obviously isn't working:
    =ROUNDUP((M6+N6)/0.08,0)
    Any help?
    When you say it "isn't working", what do you mean? What result do you see?

    =ROUNDUP(412.5,0) results in 413 on my computer. The devil is in the details. Please attach an Excel file that demonstrates the problem. In a reply, click on Go Advance, then click on the Attach File.

  15. #15
    Registered User
    Join Date
    12-09-2015
    Location
    Washington State
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: ROUNDUP Function

    M6 = 10
    N6 = 23

    I used "=ROUNDUP ((M6+N6)/0.08,1)", and it's still showing 412.5.

    I've attached a sample.

    Sample.xlsx

  16. #16
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: ROUNDUP Function

    Quote Originally Posted by jamesberg View Post
    I used "=ROUNDUP ((M6+N6)/0.08,1)", and it's still showing 412.5.
    That looks 'Significantly' different from what you originally posted.
    Quote Originally Posted by jamesberg View Post
    This is what I'm trying, which obviously isn't working:

    =ROUNDUP((M6+N6)/0.08,0)
    Last edited by Jonmo1; 12-09-2015 at 02:42 PM.

  17. #17
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: ROUNDUP Function

    Quote Originally Posted by jamesberg View Post
    M6 = 10
    N6 = 23
    I used "=ROUNDUP ((M6+N6)/0.08,1)", and it's still showing 412.5.
    I've attached a sample.
    I believe you were following a misdirection that someone had posted to this thread, then deleted somehow. (I saw it once. I do not see it now.)

    Changing ",1" to ",0" returns 413 in your sample file.

    So we need to see an example Excel file that demonstrates the error with your original formula, to wit: =ROUNDUP((M6+N6)/0.08,0).

    I suspect the problem will have gone away because you unconsciously corrected whatever "silly mistake" you had in the first place.

  18. #18
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,655

    Re: ROUNDUP Function

    Your original formula works:

    =ROUNDUP((E6+F6)/0.08,0)

  19. #19
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,432

    Re: ROUNDUP Function

    =ROUNDUP(....,0) will round up to the nearest integer. this sounds like what you want. ROUNDUP(412.5,0) will equal 413.
    =ROUNDUP(....,1) will round up to the nearest tenth. which is exactly what the spreadsheet is doing. ROUNDUP(412.5,1) will equal 412.5.

    It seems to me you need to choose the correct value for the 2nd argument. Should it be 0 or 1?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  20. #20
    Registered User
    Join Date
    12-09-2015
    Location
    Washington State
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: ROUNDUP Function

    Thanks!

    Sorry about all the confusion, but it is working now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Regarding Roundup Function
    By low228 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2015, 12:15 AM
  2. Looking for a roundup function
    By jwardlow84 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-08-2015, 05:12 AM
  3. [SOLVED] ROUNDUP function nested in IF function--Having problems!
    By whitequeen11 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-08-2014, 04:32 PM
  4. roundup function by 5p
    By smudgepost in forum Excel General
    Replies: 2
    Last Post: 09-22-2009, 12:48 PM
  5. Excel 2007 : Odd function or ROUNDUP help
    By dario222 in forum Excel General
    Replies: 4
    Last Post: 09-01-2009, 03:06 PM
  6. Roundup function
    By 34laraider in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2008, 12:39 AM
  7. Roundup Function
    By brown_toby in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2006, 01:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1