+ Reply to Thread
Results 1 to 8 of 8

SUM + MROUND in same cell

  1. #1
    Registered User
    Join Date
    10-27-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2013
    Posts
    12

    SUM + MROUND in same cell

    I want to SUM up numbers and MROUND in the same cell.

    I'm using this formular:

    Please Login or Register  to view this content.
    Which gives me an error. How can I fix it?

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: SUM + MROUND in same cell

    See if this works
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    10-27-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: SUM + MROUND in same cell

    I figured it out.

    I used this formular:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: SUM + MROUND in same cell

    Glad you were able to get it worked out.

  5. #5
    Registered User
    Join Date
    10-27-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: SUM + MROUND in same cell

    Hello again,

    I have a question in regards to the formula. Say I want to MROUND to the nearest 10, how would it look like then.

    Here is the formular I've tried. Won't work with 10, but if I change it to 0,5, it will do just fine with that spread:

    Please Login or Register  to view this content.
    Appreciate any help.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUM + MROUND in same cell

    Quote Originally Posted by GAPP View Post
    Say I want to MROUND to the nearest 10, how would it look like then.

    Here is the formular I've tried. Won't work with 10, but if I change it to 0,5, it will do just fine with that spread:

    =MROUND(SUM(E24-E25); 10)
    Tell us what's in E24 and E25 and what result you expect.

    On a side note, you don't need the SUM function:

    =MROUND(E24-E25;10)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Registered User
    Join Date
    10-27-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: SUM + MROUND in same cell

    Quote Originally Posted by Tony Valko View Post
    Tell us what's in E24 and E25 and what result you expect.

    On a side note, you don't need the SUM function:

    =MROUND(E24-E25;10)
    E24: 16.288,53
    E25: 3.504,00

    MROUND cell: 12.784,53 even if I apply the code you provided: =MROUND(E24-E25;10)

    PS. In europe the '.' and ',' is opposite compared to US and many other places. Don't mind that.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUM + MROUND in same cell

    I get a result of 12780 using both of these formulas:

    =MROUND(E24-E25,10)

    =ROUND(E24-E25,-1)

    You may have to replace the comma with a semi-colon.

+ 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. Mround
    By workingmom434 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2014, 07:55 PM
  2. MROUND Function Not Available in VBA
    By sirwilliamr in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-06-2013, 04:16 PM
  3. How do I add MROUND
    By STU22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2013, 07:53 PM
  4. Use of Mround
    By chandan12 in forum Excel General
    Replies: 1
    Last Post: 08-17-2007, 02:58 PM
  5. [SOLVED] IF & MROUND
    By phuser in forum Excel General
    Replies: 3
    Last Post: 06-27-2006, 09:25 AM
  6. MRound
    By Lucky_guy2000 in forum Excel General
    Replies: 2
    Last Post: 04-21-2006, 08:45 AM
  7. Mround to nearest 5 c
    By Giorgos in forum Excel General
    Replies: 1
    Last Post: 07-05-2005, 07:05 AM
  8. Mround
    By ynissel in forum Excel General
    Replies: 1
    Last Post: 06-02-2005, 01: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