+ Reply to Thread
Results 1 to 10 of 10

Calculation formula

  1. #1
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Calculation formula

    I will provide details too for explanation.

    Please see the problem formula in yellow. I am trying to add the four cells that are in orange. The formula (in yellow) score should be a grade score out of 10.

    The formula (P41) needs to calculate the cells in orange in row 41.

    The orange cells relate to the grading percentages in row 39.

    Cell E41 should calculate as 60/60 (100% correct) and is worth 20% of the grade (The Final Grade is out of 10).
    Thus, equals 2 of the Final Grade.

    Cell J41 should calculate as 20/20 (100% correct) and is worth 60% of the grade (The Final Grade is out of 10). Thus, equals 6 of the Final Grade.

    Cell N41 should calculate as 7/10 (70% correct) and is worth 10% of the grade (The Final Grade is out of 10). Thus, equals 0.7 of the Final Grade.

    Cell O41 is a score of 80% and is worth 10% of the grade (The Final Grade is out of 10). Thus, equals 0.8 of the
    Final Grade.

    The Formula in P41 should come up with an answer of 9.5. That being 9.5 out of a top grade score of 10.

    Thank you for your effort.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by AaruJaan; 06-04-2017 at 07:47 AM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Calculation formula

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    howto-attachment3.jpg

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  3. #3
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Calculation formula

    Thank for response sandy, I have attached Excel file, please check the file.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Calculation formula

    Try

    =SUM((E41/60*0.2)+(J41/20*0.6)+(N41/10*0.1)+(O41*0.1))

    Highlight missing from your formula

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,800

    Re: Calculation formula

    Try this:

    =(E41/60*2)+(J41/20*6)+(N41/10*1)+(O41/10*10)

    You are using the SUM function throughout the worksheet where it is not actually needed.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Calculation formula

    Quote Originally Posted by farhangul View Post
    Cell E41 should calculate as 60/60 (100% correct) and is worth 20% of the grade (The Final Grade is out of 10). Thus, equals 2 of the Final Grade.
    Cell J41 should calculate as 20/20 (100% correct) and is worth 60% of the grade (The Final Grade is out of 10). Thus, equals 6 of the Final Grade.
    Cell N41 should calculate as 7/10 (70% correct) and is worth 10% of the grade (The Final Grade is out of 10). Thus, equals 0.7 of the Final Grade.
    Cell O41 is a score of 80% and is worth 10% of the grade (The Final Grade is out of 10). Thus, equals 0.8 of the Final Grade.
    The Formula in P41 should come up with an answer of 9.5. That being 9.5 out of a top grade score of 10.
    First, if N41 (7) should be interpreted as 7 out of 10, that part of the formula in P41 should be N41/10 * 0.1. You wrote N41*0.1.

    Second, the 60/60 = 1 * 0.2 = 0.2, not 2. Likewise, 20/20 = 1 * 0.6 - 0.6, not 6. 7/10 = 0.7 * 0.1 = 0.07, not 0.7. And 80% * 0.1 = 0.08, not 0.8.

    So the total would be 0.95, not 9.5. And the max is 0.2+0.6+0.1+0.1 = 1, not 10.

    Finally, your use of SUM is unnecessary and not useful.

    If you want 9.5 out of 10, the formula in P41 should be (reordering some terms for clarity):

    =10 * (0.2*E41/60 + 0.6*J41/20 + 0.1*N41/10 + 0.1*O41)
    Last edited by joeu2004; 06-04-2017 at 08:03 AM.

  7. #7
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Calculation formula

    I have another issue when I type in cell A1 3.42pm Cell B2 automatically convert in this format 03:42 Pm

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,800

    Re: Calculation formula

    This is a completely separate issue, but just change the formatting of the cell to match what you want to see:

    h.mm AM/PM

  9. #9
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Calculation formula

    Mam, I need formula can you help me on this issue?

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,800

    Re: Calculation formula

    Start a new thread - it's a completely different issue. Thanks.

+ 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. Formula and Calculation Help
    By kmackay00 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-10-2016, 01:26 PM
  2. Replies: 1
    Last Post: 04-02-2016, 04:32 AM
  3. [SOLVED] Quintile Formula - Function Wise - Help need for formula calculation
    By Yadavgiri in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 12-21-2015, 03:09 PM
  4. How to read formula result for calculation of another formula?
    By Shad0wguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2013, 02:15 PM
  5. excel formula calculation - how to insert the right formula
    By Manila.Boracay in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2011, 04:21 AM
  6. [SOLVED] Re: base formula calculation on whether different cell has formula
    By Bill Kuunders in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2005, 05:05 PM
  7. [SOLVED] base formula calculation on whether different cell has formula
    By rcmodelr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2005, 08:05 PM

Tags for this Thread

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