+ Reply to Thread
Results 1 to 3 of 3

Sorting data with formulas in cells

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    New Zealand
    MS-Off Ver
    Excel 2011 Mac
    Posts
    5

    Sorting data with formulas in cells

    Hi,

    I'm trying to sort the table at the top of the excel worksheet from Largest value to smallest, but am having a problem as the Wins column values are generated through formulas. Can any body help me?

    Thanks
    Attached Files Attached Files
    Last edited by Nick Roydhouse; 10-10-2014 at 10:37 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sorting data with formulas in cells

    1) Put this formula in D4 and copy down:
    =SUMIF($C$15:$C$50, C4, $B$15:$B$50)+SUMIF($F$15:$F$50, C4, $E$15:$E$50)

    2) Fix the values in C4:C12 so the text there is exactly the same text as in HOME/AWAY columns. For instance, it's " Massachusetts", not UMass. And it looks like they all have two blank spaces in the lead... make them match exactly.

    3) Now you can sort C4:D14 by column D.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-03-2012
    Location
    New Zealand
    MS-Off Ver
    Excel 2011 Mac
    Posts
    5

    Re: Sorting data with formulas in cells

    Perfect,

    Thank you

+ 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 cells fed by formulas
    By brendan2711 in forum Excel General
    Replies: 6
    Last Post: 05-14-2013, 01:25 AM
  2. Sorting data obtained through formulas
    By openroad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2013, 02:56 AM
  3. [SOLVED] Problem sorting column that has blank cells with formulas
    By timmyjc18 in forum Excel General
    Replies: 3
    Last Post: 06-20-2012, 02:10 PM
  4. Sorting a table where some cells have formulas
    By Baseplan in forum Excel General
    Replies: 0
    Last Post: 02-10-2012, 12:23 PM
  5. Sorting table data using formulas
    By dandavis1 in forum Excel General
    Replies: 4
    Last Post: 08-10-2011, 01:38 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