+ Reply to Thread
Results 1 to 14 of 14

HELP needed with an average formula that takes into account numbers and text

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    North East
    MS-Off Ver
    Excel 2007
    Posts
    17

    HELP needed with an average formula that takes into account numbers and text

    Attachment 235038Hi,

    I am a school teacher that is looking at developing the way I track my pupils from entry level to make sure they are making good progress. I have trailed the net for hours and cannot find the answer to my question (however, I am not great on excel so might be getting confused with how to do what it is I need to do).

    Anyway, here is are my question:

    I have attached my spreadsheet to show what I am trying to do.

    In column G4, H4 and I4 I will be entering students levels which are given with a number and a letter for example (3a, 3b, 3c, 4a, 4b, 4c and so on). So what I am trying to do is get the average for these in column J4. Again for example I know that if a give a student a 3a, 3a and 3b that the average is a 3a but to save time I want a formula that automatically calculates this figure.

    As well as this, if you look on the spreadsheet attachment I am also trying to calculate a formula that if a pupil comes in with a baseline level of 3a this student should be making 2 sub levels of progress each school year, so for example:

    If I give a pupil a baseline level of 3a this pupils end of year target level should be a 4b, can I create a formula that automatically calculates this for the BASELINE LEVEL COLUMN to the END OF YEAR TARGET LEVEL?

    Below shows how the levels work:

    Low to High

    3c
    3b
    3a
    4c
    4b
    4a
    5c
    5b
    5a
    6c
    6b
    6a

    and so on

    Hope this makes sense, any help would be much appreciated.

    Thanks
    Last edited by halgraham; 05-11-2013 at 03:18 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: HELP needed with an average formula that takes into account numbers and text

    Try this array formula entered with CTRL + SHIFT + ENTER

    =INDEX($N$4:$N$15,ROUND(AVERAGE(MATCH(G4:I4,$N$4:$N$15,0)),0))

    N4:N15 is a list of the grades in Ascending order.

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    North East
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: HELP needed with an average formula that takes into account numbers and text

    Quote Originally Posted by Jonmo1 View Post
    Try this array formula entered with CTRL + SHIFT + ENTER

    =INDEX($N$4:$N$15,ROUND(AVERAGE(MATCH(G4:I4,$N$4:$N$15,0)),0))

    N4:N15 is a list of the grades in Ascending order.
    Hi Jonmo1,

    Thank you very much for the formula, it seems to have worked an absolute treat and saved me from tearing my hair out. Another question that you may know the answer too is:

    In my 'baseline level' column the students will be given a level when they come into school which again will be a 3a,3b, 3c and so on and each student should make 2 sub levels of progress each year, so for example on my excel sheet student 1 has a baseline assessment of a 3a that students 'end of year target level' is then a 4b and their 'end of KS3 target level' is a 5a. is there a way/formula that when I put the students 'baseline level' in it automatically calculates both their 'End of year level' and their 'End of KS3 target level'.

    I know your probably thinking its just as easy to manually input the values but I am dealing with in excess of 800 pupils so therefore this will save hours.

    Thanks in advance for your help

  4. #4
    Registered User
    Join Date
    05-09-2013
    Location
    North East
    MS-Off Ver
    Excel 2007
    Posts
    17

    Red face Re: HELP needed with an average formula that takes into account numbers and text

    Can anyone help )(PLEASE SEE MY ATTACHMENT IN THE PREVIOUS POST)

    In my 'baseline level' column the students will be given a level when they come into school which again will be a 3a,3b, 3c and so on and each student should make 2 sub levels of progress each year, so for example on my excel sheet student 1 has a baseline assessment of a 3a that students 'end of year target level' is then a 4b and their 'end of KS3 target level' is a 5a. is there a way/formula that when I put the students 'baseline level' in it automatically calculates both their 'End of year level' and their 'End of KS3 target level'.

    I know your probably thinking its just as easy to manually input the values but I am dealing with in excess of 800 pupils so therefore this will save hours.

    Thanks in advance for your help

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: HELP needed with an average formula that takes into account numbers and text

    You need to explain your logic a bit more. You say "student should make 2 sub levels of progress each year", so I can see that a student who has a Baseline Level of 3a would expect to have an End of Year Target Level of 4b, but I don't see how you get the value of 5a for the End of KS3 Target Level.

    I'm not even sure when in a year the end of KS3 is. We're not necessarily all familiar with English Secondary School curricula on this site...
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: HELP needed with an average formula that takes into account numbers and text

    Would it make sense to convert the letters to numbers (decimals), so that 3A = 3.1 3D = 3.4 etc? That way they are just regular numbers and can then be worked with that way?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: HELP needed with an average formula that takes into account numbers and text

    Also, what does "2 sub levels" equate to? In your example, 3A plus 2 sub-levels, to me would suggest 3C, but you say 4B?
    3a that students 'end of year target level' is then a 4b

  8. #8
    Registered User
    Join Date
    05-09-2013
    Location
    North East
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: HELP needed with an average formula that takes into account numbers and text

    Quote Originally Posted by XOR LX View Post
    You need to explain your logic a bit more. You say "student should make 2 sub levels of progress each year", so I can see that a student who has a Baseline Level of 3a would expect to have an End of Year Target Level of 4b, but I don't see how you get the value of 5a for the End of KS3 Target Level.

    I'm not even sure when in a year the end of KS3 is. We're not necessarily all familiar with English Secondary School curricula on this site...

    Hi,

    Thanks for the reply, I will try and explain this a little clearer if I can. The school levels work in the following way:

    A pupil who comes into secondary school (year 7) on a

    3c will have to progress through these levels, so from a 3c in year 7 that student should then move on to a 3b and then a 3a in their first year (hence making two sub levels of progress)

    And by the time they get the year 9 which is the end of key stage 3 they should have moved from this 3c to a 5c.

    3c
    3b
    3a
    4c
    4b
    4a
    5c

    I hope this paints a clearer picture. So what I am trying to do work out is if I put the baseline level in can I get a formula that calculates the end of year and end of KS3 level?

    Thanks

  9. #9
    Registered User
    Join Date
    05-09-2013
    Location
    North East
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: HELP needed with an average formula that takes into account numbers and text

    Quote Originally Posted by FDibbins View Post
    Also, what does "2 sub levels" equate to? In your example, 3A plus 2 sub-levels, to me would suggest 3C, but you say 4B?
    Hi,

    I understand your logic behind converting the letters to numbers but this is currently how we do it and I was just looking at possible solutions to making the system more student friendly and less time consuming.

    Levels work in the following way (Low to High)

    3c
    3b
    3a
    4c
    4b
    4a
    5c
    5b
    5a

    and so on, so an example of 1 level of progress is moving from a 3a to a 4a and an example of making two sub levels of progress would be moving from a 3a to 4b.

    Thanks

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: HELP needed with an average formula that takes into account numbers and text

    So there End of Year Target Level is always just 2 points further up the scale from their Baseline Level and their End of KS3 Target Level always 8 points further up from the Baseline Level?

    If so, this in cell K4 and copied down: =INDEX($N$4:$N$18,MATCH(F4,$N$4:$N$18,0)+2,1)
    This in cell L4 and copied down: =INDEX($N$4:$N$18,MATCH(F4,$N$4:$N$18,0)+8,1)

    Regards

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: HELP needed with an average formula that takes into account numbers and text

    OK try this...
    create a table in in O4:O9 containing C,B,A,C,B,A (1 letter in each cell)

    Then in K4, copied down...
    =IF(OR(INDEX($O$4:$O$9,MATCH(RIGHT(F4,1),$O$4:$O$9,0)+2,1)="b",INDEX($O$4:$O$9,MATCH(RIGHT(F4,1),$O$4:$O$9,0)+2,1)="c"),LEFT(F4,1)+1,LEFT(F4,1))&INDEX($O$4:$O$9,MATCH(RIGHT(F4,1),$O$4:$O$9,0)+2,1)

    edit: nice 1 XOR

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: HELP needed with an average formula that takes into account numbers and text

    Thanks, FDibbins. Actually the person in question messaged me to thank me so I guess they were happy and we can close this one out!

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: HELP needed with an average formula that takes into account numbers and text

    Based on XOR's last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: HELP needed with an average formula that takes into account numbers and text

    Hmm ok looks like i clicked on closed?

+ 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