+ Reply to Thread
Results 1 to 12 of 12

Multiple functions in one cell?

  1. #1
    Registered User
    Join Date
    05-10-2016
    Location
    Geelong, Australia
    MS-Off Ver
    2016
    Posts
    13

    Multiple functions in one cell?

    I have a table showing student results for tasks

    I've had help to get the cells to add up and display either a total of all scores OR if an N or NS appears, a N in a cell (eg D3)

    Is there a way to make each task out of different totals?

    So in H28 and accross, I could say tasks were out of 10 or 32 or 15. Could a formula show that in H3, the child got 4 out of 10 and it shows as 4 in D3. In I3, the student got 5 out of 11 and I want to add that to H3 but make it so that they are comparative answers?????? Does this make sense?
    Attached Files Attached Files
    Last edited by Redwrex; 07-26-2020 at 09:43 PM. Reason: Adding file

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Multiple functions in one cell?

    Hi Redwrex,
    Could you upload the sample workbook without the sheet protected so we can work with it.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  3. #3
    Registered User
    Join Date
    05-10-2016
    Location
    Geelong, Australia
    MS-Off Ver
    2016
    Posts
    13

    Re: Multiple functions in one cell?

    I have made that change.

    Sorry, I uploaded the wrong file!

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Multiple functions in one cell?

    I remembered this.
    Could you manual mockup some expected results in H28 and accross?
    Quang PT

  5. #5
    Registered User
    Join Date
    05-10-2016
    Location
    Geelong, Australia
    MS-Off Ver
    2016
    Posts
    13

    Re: Multiple functions in one cell?

    Sure,

    I've added a 'total marks available row (28)
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Multiple functions in one cell?

    On the sheet '9A' you have a sample in row 3.
    Would it be possible to do a 'mock-up' in a row below on what exactly you like to see based on the data in row 3.
    In H3 you have the value '4' (and other results across to the right). If this is entered in this cell, then you can't have a formula there to show something else. If the result '4' comes from elsewhere then a formula can.

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Multiple functions in one cell?

    Could you explain how value in row 28 come, i.e, 5;10;10;35...

  8. #8
    Registered User
    Join Date
    05-10-2016
    Location
    Geelong, Australia
    MS-Off Ver
    2016
    Posts
    13

    Re: Multiple functions in one cell?

    So, it is a total available marks for that task.

    In H3, it's 4 out of 5 marks
    In I3, it's that number out of 10 marks, etc

  9. #9
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Multiple functions in one cell?

    So I THINK you are you looking for D3 to be an overall percentage? Correct?

    That is: the total actual marks = sum(H3:Q3) divided by the available marks = sum(H28:Q28) or in the case of your example: 162/275 = 59%

    If so then accommodating the indexing that D3 is already doing the D3 formula would become (I think):
    =IFERROR(SUMPRODUCT(OFFSET($H3:$Q3,,MATCH(D$2,$H$1:$AU$1,0)-1,)+0) / SUMPRODUCT(OFFSET($H$28:$Q$28,,MATCH(D$2,$H$1:$AU$1,0)-1,)+0),"N")

    If you format D3 as a percentage this yields 59%
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  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,830

    Re: Multiple functions in one cell?

    Is it a weighted average percentage that you want?
    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.

  11. #11
    Registered User
    Join Date
    05-10-2016
    Location
    Geelong, Australia
    MS-Off Ver
    2016
    Posts
    13

    Using student scores to create a weighted total

    Weighted would be great.

    I'd like the last 2 columns in each section to be weighted more than the previous 8.

    The second last column weighted at 25% and the last column at 40%
    Last edited by Redwrex; 07-29-2020 at 09:21 PM. Reason: Title Not Clear!

  12. #12
    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,830

    Re: Multiple functions in one cell?

    I'm afraid you will need to be more specific than that.

    What should the weighted scores be for each test? What is the relative weighting for each test?

    Administrative Note:

    We would very much like to help you with your query, however it is now clear that the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Last edited by AliGW; 07-28-2020 at 02:22 AM.

+ 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. Multiple functions in one cell?
    By Redwrex in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-14-2020, 12:47 AM
  2. Multiple IF functions in one cell
    By watson150 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-22-2016, 09:04 PM
  3. Multiple functions in one cell
    By starchild21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-01-2013, 08:16 AM
  4. multiple functions for one cell?
    By dargen5378 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2008, 01:00 PM
  5. Multiple functions in a cell help
    By Mikjall777 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-11-2006, 09:30 AM
  6. MUltiple functions on a same cell
    By harshaputhraya in forum Excel General
    Replies: 1
    Last Post: 05-08-2006, 01:35 AM
  7. [SOLVED] Multiple functions per cell?
    By excelnewbie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-19-2005, 05:05 AM

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