+ Reply to Thread
Results 1 to 4 of 4

Trying to figure out a MAX(IF) and MAX(IF) and a STDEV(IF)

  1. #1
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London England
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    157

    Question Trying to figure out a MAX(IF) and MAX(IF) and a STDEV(IF)

    Hi,

    As per usual, I'm experimenting with Sports data and am just trying to figure out the relative strengths of some of the European Football leagues (and I'll make it clear from the top I'm not comfortable with the numbers I have at the moment which make Marseille the best team in Europe - but I'm happy with the principles of the model if that makes sense).

    Basically I have attached the output from one of the models. In short I have managed to a couple of AVERAGEIF's to pull up the averages of the 5 leagues that I have put in this model (F1 = France, D1= Germany, SP1 = Spain, I1 = Italy, E0 = England). These have shown that relative to the other leagues, the French league appears to have the higher ranking teams relatively (), and almost the best home advantage (can't figure why France and Spain's home advantage is about 0.2 higher on average than England, Germany and Italy but am happy with the concept of the model).

    In short I also would like to pull up the Max and Min values by league and which teams are involved (just to get an idea of things relatively). I have put the Germany line in manually (from N10 right on the first worksheet), but was just wondering if there was a way I could automate this effectively with a function (or several if there is a workaround)?

    I also have a separate issue on the second worksheet (Scores), where I would just like to try and isolate the Standard Deviation of some error figures that have come out of the model (by league). The Standard Deviation for each of the 5 leagues error in the model is about 1.64, I'm thinking some leagues error will be lower (around the 1.5 mark) and just wondered if there was a way that I could pull this up?

    I'd be grateful, if anyone could offer me some advice or nudges in the right direction.

    Thanks in advance,

    Euro Workup.xlsx

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

    Re: Trying to figure out a MAX(IF) and MAX(IF) and a STDEV(IF)

    as for stdev(if) and max(if) you can use array formulas - see for example here http://www.excelforum.com/excel-gene...-stdev-if.html
    I'm not sure which are array formula keys for Mac - is it also Ctrl+Shif+Enter?)
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London England
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    157

    Re: Trying to figure out a MAX(IF) and MAX(IF) and a STDEV(IF)

    Quote Originally Posted by Kaper View Post
    as for stdev(if) and max(if) you can use array formulas - see for example here http://www.excelforum.com/excel-gene...-stdev-if.html
    I'm not sure which are array formula keys for Mac - is it also Ctrl+Shif+Enter?)
    Thanks. Spot on with the formulas (that could be adapted for a max, min and stdev). I probably understand arrays better now as well which is always helpful (you know when you think you understand something but are not sure). I can now probably figure out a work around with a VLOOKUP (or could I use a MATCH and an IF?), to match the figures pulled up by the arrays to the teams that have those values (if I'm making sense). I'll leave this one unsolved until I've solved it.

    Incidentally the array keys on a Mac are Command (the one with the odd little symbol on it that I don't think is on a PC keyboard?)+Shift+Enter
    Last edited by mrvp; 04-27-2014 at 07:56 AM. Reason: added the array keys

  4. #4
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London England
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    157

    Thumbs up Re: Trying to figure out a MAX(IF) and MAX(IF) and a STDEV(IF)

    Just a quick update on this - as I've now had another chance to look at this; I've used an INDEX and a MATCH to pull the right teams up against the ratings that I pulled up using the array formulas above.

    E.g =INDEX($D$10:$D$107,MATCH(O10,E$10:E$107,0))

    The column references are slightly different as I pasted it into a different worksheet, with Column D being the teams and Column E being the ratings, with O10 in this case being the rating pulled up by the array formula (to get the MATCH to reference to). Basically I have highlighted these yellow in the attached.

    In short is there a more elegant or better way of doing this? One small issue I can see is if two teams were to have the same ratings. Is there a way I can get the INDEX or MATCH to reference column C or J as a fallback to essentially act as a catch if two teams from different leagues had the same rating?

    Thanks for any suggestions,

    Euro_Idea_Output_110514.xlsx

+ 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: 4
    Last Post: 02-03-2014, 08:05 AM
  2. Replies: 1
    Last Post: 02-18-2013, 06:09 AM
  3. Sum formula to exclude monthly budget figure when actual figure is entered
    By rocketmail in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2013, 04:22 AM
  4. Cross Reference to a Figure actually showing figure, not just caption
    By mgaworecki in forum Word Formatting & General
    Replies: 2
    Last Post: 02-23-2012, 10:53 AM
  5. Calculating monthly sales figure required to make annual turnover figure
    By CatIsoSio Sky in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2010, 04:42 PM

Tags for this Thread

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