+ Reply to Thread
Results 1 to 9 of 9

rounding up problems

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    rounding up problems

    I want my rounding formula to change from {=SUM(ROUND(H6:K6,1))} to {=SUM(ROUND(H6:K6,0))} or vica versa depending on certain scores.

    I have outlined the problem using two sets of student scores:

    Using {=SUM(ROUND(H6:K6,0))}

    Mid Final H/w Att Total Grade
    37 37 10 10 94 A
    37 37 10 10 94 A

    When decimal points are shown with {=SUM(ROUND(H6:K6,0))}

    Mid Final H/w Att Total Grade
    37.4 37.4 10 10 94 A 0.4's rounded down to 0's
    36.6 36.6 10 10 94 A 0.6's rounded up to 1.0's

    When decimal points are shown with {=SUM(ROUND(H6:K6,1))} but actual total is a whole number

    Mid Final H/w Att Total Grade
    37.4 37.4 10 10 95 A+ 0.4 + 0.4 = 0.8 so rounded up to 1.0
    36.6 36.6 10 10 93 A 0.6 + 0.6 = 1.2 so rounded down to 1.0

    When all totals are whole numbers using {=SUM(ROUND(H6:K6,1))}

    Mid Final H/w Att Total Grade
    37 37 10 10 95 A+ 0.4 + 0.4 = 0.8 so rounded up to 1.0
    37 37 10 10 93 A 0.6 + 0.6 = 1.2 so rounded down to 1.0

    The example immediately above is the most accurate way to deal with this, however, now the four columns do not add up to the total, but the two students receive the correct letter grade.

    Is there a way for Excel to identify a score like those above and automatically use either a .....(H6:K6,0) or ......(H6:K6,1)?

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: rounding up problems

    check first this one

    =round(sum(....
    with your
    =sum(round(....
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: rounding up problems

    This doesn't work = 'too few arguments"

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: rounding up problems

    sorry my mistake i mean't..

    from your formula {=SUM(ROUND(H6:K6,0))}

    make it

    {=round(sum(H6:K6,0))}

    round then sum is different from sum then round..

  5. #5
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: rounding up problems

    I'm still getting the "you've entered too few arguments for this function' message with Ctrl,Shift,Enter =round(sum(H6:K6,0))

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: rounding up problems

    ok i think i'm hungry...
    I misplaced the round decimal places 0

    =round(sum(H6:K6),0)

  7. #7
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: rounding up problems

    Thank...finally...it worked!

    Now I have the problem of the four columns not matching the total! Is there any way to solve this?

  8. #8
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: rounding up problems

    Could you help me with then next problem? It's a bit more tricky....

    See attachment - worksheet 'totals' Column Z.

    My formula is

    =IF(AND(RANK.EQ(X6,X$6:X$25,0)>ROUND(COUNT(X$6:X$25)*0.3,0),LEFT(Y6,1)="A"),"B+",Y6)

    It successfully deals with A grades over the 30% limit but it doesn't know what to do with the blank cells - these are students that have dropped out of school. I need to to take the 30% from the remaining number of students.
    Attached Files Attached Files

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: rounding up problems

    your first question... this makes them all equal to 94

    =IF(SUM(IF(H6:K6=INT(H6:K6),1,))>0,SUM(ROUND(H6:K6,0))) - ctrl + shift + enter

    your next query ( Rank.Eq) i can't do now have to go 12:00 PM here... maybe later this afternoon,, thanks

+ 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