+ Reply to Thread
Results 1 to 4 of 4

Count difference between two values

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Count difference between two values

    Hi all,

    Need some help pinpointing a formula or work around that would be able to count the difference between two non-standard values.

    For background info... I work in a school as Data Manager and I'm trying to work out how many sub-levels of progress Year 7 students have made between their Key Stage 2 (Year 6) results and their end of Year 7 results.

    For instance, the results possible for Key Stage 2 would be in the format of a number, then letter. i.e... (3c - the numbers go from 1 to 5, and the letters a to c so there's 15 different possibilities. (1c, 1b, 1a, 2c, 2b, 2a etc). If a student gained a 3c in Year 6 they would be expected to gain a 4c in Year 7 which is 3 sub-levels of progress.

    So I have two columns, A is Year 6 and B is Year 7.

    ---A---B---
    1 2c 2b
    2 1b 2c
    3 1a 2b
    4 3c 2a

    What I need is column C to show how many sub-levels of progress have been made or lost.

    ---A---B---C---
    1 2c 3c + 3
    2 2a 1c - 1
    3 1a 2b + 4
    4 3c 4b + 2


    For reference, sub-levels in rank order low-high...

    1a, 1b, 1c, 2a, 2b, 2c, 3a, 3b, 3c, 4a, 4b, 4c, 5a, 5b, 5c




    I understand what I'm asking may be difficult so I'm not asking for a final solution from you guys (if you can, great!) but even if you could point me in the right direction of how I can do this that would be most helpful and greatly appreciated!

    Many thanks in advance,

    Jason

  2. #2
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Count difference between two values

    File attached that should do it. Obviously you can move the list of sub levels elsewhere and change the reference in the formulas.

    Thanks
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Count difference between two values

    Wow, I'm impressed! Thank you very much Dave.

  4. #4
    Registered User
    Join Date
    12-06-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    1

    Smile Re: Count difference between two values

    This is great but I need to do this across 4 Levels End of year, Autumn, Spring, Summer but the calculation needs to happen each termly input. So I have the end of year and now the Autumn, how much sub level process have they made same as above levels 1C, 1B, 1A etc. to 5A 1 sub level point each. Thanks in advance.

+ 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. Replies: 2
    Last Post: 01-21-2014, 02:53 PM
  2. [SOLVED] Need to count if the difference in values between two arrays is less than 5
    By italianiceman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-07-2012, 03:08 PM
  3. Count of Difference Between two numbers.
    By hafeezcloud in forum Excel General
    Replies: 4
    Last Post: 08-30-2012, 07:36 PM
  4. [SOLVED] Count the difference between two numbers
    By hafeezcloud in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2012, 07:34 PM
  5. Count Difference between two dates
    By Clash in forum Excel General
    Replies: 4
    Last Post: 05-03-2006, 04:50 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