+ Reply to Thread
Results 1 to 7 of 7

Need roundup formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Need roundup formula

    J5=74
    J4=67
    J5/J4 = 0.905

    I need the formula to round up to 1 if below 1

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

    Re: Round up formula needed

    Assuming you don't want any numbers rounded if they are greater than or equal to 1 then you could use =IF(J6/J5<1,1,J6/J5)

  3. #3
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Round up formula needed

    If you want to round up to the next whole number from anything below
    =ROUNDUP(J5/J4,0)' Rounds up to the next whole number
    To get the result you show
    =ROUNDUP(J4/J5,0)

  4. #4
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Round up formula needed

    Thank-you that works perfectly

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,962

    Re: Need roundup formula

    Formula: copy to clipboard
    =MAX(J5/J4, 1)



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,962

    Re: Round up formula needed

    @Philb1:that would round any result to 0 decimal places, not just numbers below 1

  7. #7
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Round up formula needed

    I didn't think of restricting it to only below 1. I thought maybe it would be any number below a whole number. If I read the post properly it might have helped.
    My bad :-(

+ 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. [SOLVED] Roundup Formula Help
    By boblehman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-15-2014, 10:42 AM
  2. [SOLVED] Roundup Formula
    By olyneum in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2013, 07:40 PM
  3. [SOLVED] RoundUP formula help pls
    By ashuk38 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2013, 08:33 PM
  4. [SOLVED] roundup within a formula
    By fwb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2005, 12:05 AM
  5. roundup within a formula
    By David Billigmeier in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 11:05 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