+ Reply to Thread
Results 1 to 20 of 20

Help with ROUNDDOWN FUNCTION

  1. #1
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Exclamation Help with ROUNDDOWN FUNCTION

    =IF($H$8="","",IF(Q8<O8,Q8-D9-D11-E8-G8,IF(Q8>O8,Q8-D11-E8-G8,Q8-D9-D11-E8-G8)))

    The result of the above formula was 314.75, using cell formate of one decimal spaces rounded up the resulting number to 314.8.

    How can I please modify the above formula to round downward the number instead of upward to have a result of of this formula 314.7 with one decimal formatting instead of 314.8?

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    Hi,

    I have modified your formula as following, please check if it works:


    =IF($H$8="","",IF(Q8<O8,ROUND(Q8-D9-D11-E8-G8,1),IF(Q8>O8,ROUND(Q8-D11-E8-G8,1),ROUND(Q8-D9-D11-E8-G8,1))))


    Regards,
    Chandra

    Please click on ‘ * Add Reputation’ button on the left side bottom of my post if I was helpful in resolving the issue.

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    & Use the following formula in the next column next to the output column (refer the excel sheet attached).

    =INT(K8)+((1*(MID(K8-INT(K8),3,1)))/10)
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with ROUNDDOWN FUNCTION

    you can shorten that
    =IF(H8="","",ROUNDDOWN(Q8-D11-E8-G8-IF(Q8<=O8,D9,0),1))
    Last edited by martindwilson; 04-24-2014 at 08:33 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    Cbatrody Unfortunately I am still getting 314.8 as a final result.

    Martindwilson, thank you for the shorting but again I am still getting 314.8 as result instead of the desire 314.7 result!!

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    Did you use the following formula in the next column of the result?


    =INT(K8)+((1*(MID(K8-INT(K8),3,1)))/10)

    Please refer the attached excel sheet.
    Attached Files Attached Files

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    If you are still unable to get the desired result, please upload your excel workbook. I will make the changes and post it back for you.

  8. #8
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    I am sorry I am unable to load all the workbook it is to private and hard to sample.

  9. #9
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    Did you go through the Book11 i had uploaded?

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with ROUNDDOWN FUNCTION

    =rounddown(314.75,1) = 314.7

  11. #11
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    Yes, but to be honest with you I could not apply it to my formula and end up with the desire result.

  12. #12
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Help with ROUNDDOWN FUNCTION

    Did you not try the formula (ROUNDDOWN) martindwilson had given?

    What about the following?

    =IF($H$8="","",IF(Q8<O8,ROUNDDOWN(Q8-D9-D11-E8-G8,1),IF(Q8>O8,ROUNDDOWN(Q8-D11-E8-G8,1),ROUNDDOWN(Q8-D9-D11-E8-G8,1))))

    Regards,
    Chandra

  13. #13
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    Is it possible please to replace ROUNDDOWN Function with ROUND Function only and still accomplish the same last formula result?

    Best regards
    Last edited by Khaldon; 04-24-2014 at 12:12 PM.

  14. #14
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    Your last formula is fine but unfortunately the apple app I am using to work with my Excel Sheet dose not support the function ROUNDUP and ROUNDDOWN.

    Is there another way please to accomplish the same result using ROUND function or any other function and end up with the same desired result.

  15. #15
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with ROUNDDOWN FUNCTION

    well its not excel you are using then....what are you using ?no point anyone giving solutions unless they know what functions ARE available to you

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

    Re: Help with ROUNDDOWN FUNCTION

    How about:
    =ROUND("Your formula",1)-0.1
    Quang PT

  17. #17
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with ROUNDDOWN FUNCTION

    can you use floor and ceiling?
    =FLOOR(A1,0.1)
    =CEILING(A1,0.1)

  18. #18
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    I am sorry I missed that, below is a link that contains all the functions available to my app.

    http://support.dataviz.com/support.srch?docid=2310

  19. #19
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    The =ROUND("my formula",1)-0.1 works fine except for the result that end with zero, it should remain as it is, like 314.70, the result should stay as it is 314.70 with no rounding down please.

    The suggested formula is rounding the number to 314.60!!
    Last edited by Khaldon; 04-24-2014 at 03:47 PM.

  20. #20
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Help with ROUNDDOWN FUNCTION

    =ROUND("My formula",1)-0.1

    The above formula is working fine with me, the only issue is when my original formula result in a number end with decimal number and zero. The above formula then round down the last two decimal numbers!!

    Example:
    My Original formula result is 314.75, it will be round down to 314.70 and that is ok.
    But if my formula resulted in 314.70, the formula above is rounding down my formula result to 314.60 and that is not ok.

    If my original formula resulted in a number that end up with a decimal number followed by zero, I would like it please to stay as it is.

    Example:
    314.70 should remain 314.70.

    Can you please modify the above formula using ROUND function or any other functions available from the link below to accomplish my desire result above?

    http://support.dataviz.com/support.srch?docid=2310

    Regards,
    Last edited by Khaldon; 04-24-2014 at 10:49 PM.

+ 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] ROUNDDOWN function in IF formula.. ?
    By jamieblue in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-02-2012, 09:24 AM
  2. [SOLVED] Nesting a ROUNDDOWN Function
    By LuckyMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2012, 04:00 PM
  3. ROUNDUP and ROUNDDOWN function
    By james.kilgore in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-06-2011, 03:50 PM
  4. ROUNDDOWN Excell function
    By M8 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2006, 09:10 AM
  5. Roundup / Rounddown function
    By GreenMonster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2005, 05: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