+ Reply to Thread
Results 1 to 4 of 4

roundup

  1. #1
    Registered User
    Join Date
    10-04-2007
    Posts
    4

    roundup

    I need to add rounding up to the following to finish a project =(B3*15%)+(C3*25%)+(D3*60%) (the columns shown are b,c,d,e,f) to make the grades whole numbers and the letter grade to change when rouded up. As it is if I make the bottom one 90 it still shows the grade as B because excel sees it as 89.6 instead of 90. Is it possible???



    100 92 86 89.60 B
    71 58 58 59.95 D


    0 F
    50 D
    60 C
    75 B
    90 A

    This is the grade scale with the lowest possible grade for that letter grade

    Thanks for any help.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Wallace,

    In F3 you could try one of the following:

    1. If you have your grade scale listed on the sheet, lets say in range A15:B19, then try:
    Please Login or Register  to view this content.
    This will round E3 to zero decimal places, then lookup that value in your grade scale range, A15:B19 in this case. The "2" tells it to return the value in the second column and the "1" tells it to return the largest value not greater than the value you're seeking. (A "0" there would only try to find an exact match to your value, which would fail unless the person actually scored a 0, 50, 60, 75 or 90.)

    2. If you don't have a grade scale on the sheet somewhere, and don't want one, you can use a LOOKUP formula like this one:
    Please Login or Register  to view this content.
    Let us know if you need anything else.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Or you could round within the original calculation, try this formula in E3

    =ROUND(SUMPRODUCT(B3:D3,{0.15,0.25,0.6}),0)

  4. #4
    Registered User
    Join Date
    10-04-2007
    Posts
    4
    Thanks to both!!!!

+ 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