+ Reply to Thread
Results 1 to 7 of 7

League Table Movement

  1. #1
    Registered User
    Join Date
    02-26-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    4

    League Table Movement

    Hi All

    I wonder if someone can help me with adding a new column to my spreadsheet that calculates and shows the position change of a row.

    e.g. when data in the table changes and it's re-sorted, if row 5 moves up to row 3 the new column will display +2 or conversely -2

    Any help would be truly appreciated.

    Here is my sheet (Excel 2013)



    Many thanks

    acumendev
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: League Table Movement

    Try in N5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and sort

    before next attempt to sorting fill again column 1 with 1,2,3...

    PS. Note that while you were defining table you had "my table has headers" unchecked, so Excel treated Club, Name, Played, etc. as first row of data and not as headers
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-26-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    4

    Talking Re: League Table Movement

    Thanks Kaper for the quick solution - I've added it in and it works exactly as I wanted. The only thing I didn't think about was the league position number for display purposes, but I created a new column (2) which I manually fill with 1,2,3 etc ascending.

    My final question, is it possible for the positive movement upwards e.g. +2 to display the '+' sign or not?

    Sorry there is a question 2 - not sure how to change the table to 'my table has headers' from how it is now?

    thanks once again

    acumendev

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: League Table Movement

    As for formatting - use custom formatting with: "+0,-0,0,@" for this column cells (or may be:"+0;-0;;@" to show simply nothing when the position is the same)
    As re-creating table but with headers - mark it, right-click and from pop-up Table-> convert to range, and create again with checked "my table has headers" option.

  5. #5
    Registered User
    Join Date
    02-26-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    4

    Re: League Table Movement

    That is excellent - thank you Kaper.

    Is it possible for you to explain what is happening in your original formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    so that I can gain a better understanding of it please?

    Thank you

    acumendev

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: League Table Movement

    Well, [@Column1] is a structural adressing of the cell which is in Column1 in current row
    row() is worksheet function, which returns current row number
    your table started from row 5 (you had there 1 so to get 0 if nothing is changed -4 finalizes the formula.

    Nice tool for analyzing what happens inside particular formula is in Formulas->Formula Auditing->Estimate Formula

  7. #7
    Registered User
    Join Date
    02-26-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    4

    Re: League Table Movement

    Wow! Kaper you've not only helped me to learn some new stuff I was struggling on, but also pointed me in a couple of other directions that I can research - many many thanks

    regards

    acumendev

+ 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. Sorting Help based on Game results
    By darkblueblood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2014, 04:00 PM
  2. create league table :: enter result :: update table
    By Eng.Soly in forum Excel General
    Replies: 2
    Last Post: 12-27-2008, 06:31 AM
  3. Sorting Data Table (league table)
    By Cul in forum Excel General
    Replies: 2
    Last Post: 09-13-2007, 05:32 AM
  4. try league table
    By jtwork in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2007, 05:07 AM
  5. league table
    By birdoo2 in forum Excel General
    Replies: 1
    Last Post: 06-19-2006, 06:30 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