+ Reply to Thread
Results 1 to 4 of 4

Roundup correction needed

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

    Roundup correction needed

    =IF(E14="","",ROUNDUP(E14*M5/0.5,0)*0.5)

    I am using this formula which works great except on thing.

    I do want rounding up by .5 except where the roundup is equal to less than 1 as I need 1 to be the min.

    ie result .45 would round to 1, result .1.45 would round to 1.5

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Roundup correction needed

    Maybe this?

    =IF(E14="","",if(E14<1,1,ROUNDUP(E14*M5/0.5,0)*0.5))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Roundup correction needed

    Hi,

    Perhaps

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Roundup correction needed

    Thank-you for your help

+ 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] Macro Correction Needed to Remove Text and blanks
    By Sweepin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2013, 01:30 AM
  2. [SOLVED] Nested For Loop - Correction Needed
    By joogibabu in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-25-2013, 11:14 PM
  3. Correction needed for Substitute/rept formula
    By mobycane in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2011, 02:59 AM
  4. Correction in Macro needed
    By maximpinto in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2009, 07:23 AM
  5. correction
    By nowfal in forum Excel General
    Replies: 4
    Last Post: 03-24-2006, 02:40 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