+ Reply to Thread
Results 1 to 4 of 4

Mround function

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    USA
    Posts
    38

    Mround function

    Hello,

    This is regarding using MROUND function in excel 2007.
    I want to divide 34.6 by 5 (This is equla to 6.92) and round to multiple of 0.2 on the lower side.
    With MROUND(34.6/5,0.2) gives 7 and it is rounding up. How to get this rounded to 6.8?

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Mround function

    =floor(a1/b1,0.2)

    if 34.6 is in a1 and 5 in b1


    or =Ceiling if you want to go up
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Registered User
    Join Date
    12-02-2008
    Location
    USA
    Posts
    38

    Re: Mround function

    Thanks... This works.

    Also, I have this number 34.6 in cell A1. How to add a data validation to cell A1 so that only multiples of 0.2 can entered in cell A1?

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,784

    Re: Mround function

    Select A1. Go to Data Validation, and under the dropdown box under "Allow" select Custom. In the formula box, put
    Please Login or Register  to view this content.
    Add prompts and error messages as desired.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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