+ Reply to Thread
Results 1 to 18 of 18

How to calculate best numbers 3 i a certain rank or order (european championship)

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    How to calculate best numbers 3 i a certain rank or order (european championship)

    Hi all,
    Ive been breaking my head the last days to find the correct formula for my ec pool.

    As some of you might now, the european championship of football is coming up. For the first time since many years qualification to the second round isnt that simple anymore.
    There are 6 groups of 4 countries and all numbers 1 and2 qualifie for the second round. Then the 4 best numbers 3 qualifie, in a certain rank of order.
    I dont know how to make a formula for this.

    Ive attached an excel tab which is working accept the cells: e49 till e52.

    I need two more steps now. The first step is to find out how to select the 4 best numbers 3.
    For that i used a simple formula, see AV3 till BA8. But thats where it stops for me.

    To finish step 1, I now automatically want to select the best 4 numbers 3

    Step 2 must be to pick the right numbers 3 in the cells e49 till e52.
    According to the Uefa rules cell 4e9 needs number 3 of poule a,c or d (in that rank, so if a is among the best numbers 3, it should be a, if a is not among the best numbers 3, it should be c etc...)
    cell e50: b, e or f
    cell e51: c, d or e
    cell e52: a, b or f

    I would be really delightfull if anyone could help me out here.

    And just for your info. I filled in random scores to see if its working, Im not actually thinking Austria will become European champions

    thank in advance
    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,623

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    To push things a bit forward my proposition to finish step1:
    in BB3 (check if it is right "big points" are most important. If equal, goals difference matters, if still equal own goals are counted. If it is not right calculate score right way here):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down
    in BB18:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down (three more rows)
    in AV18:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy right and down

    I'm a bit disappointed with T34 :-P so will stop here by now.
    Best Regards,

    Kaper

  3. #3
    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,623

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Well, lets try second step too:
    AV49 and similar in av50:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in AV51 we face situation when some letters could be already used in AV49 or 50 so a bit more complicated:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and similar in AV52.
    while "problem" was impossible in AV49 and AV50, I suspect it could occur in AV51/52. But it was not a case with your data.
    in E49 simple:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Kaper; you're a genius. I really appreciate your help. Especially for you I changed the "predictions". (see excel)
    Good luck the next month!!!
    Attached Files Attached Files

  5. #5
    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,623

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Glad to hear that. And to see the "simulation" result. Wish it could happen :-)
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Okay, it didnt seem to work out the way I expected.
    That was not because of the formula, but because of the way the UEFA calculates the rank order.
    So, basically I didnt write the correct question.
    Ive uploaded a new tab. With the correct data.
    It comes down to this.
    When the best numbers 3 are from 4 specific groups, theres a specific way against who they will play.
    example: if the best numbers 4 are from group a,b,c and d, the winnar of group a, will play against against c, the winnar of group b will play against d, the winnar of group c, will play against a and the winnar of group D, will play against b.
    Like this, there are 15 possibilities of ranking the best numbers 3.

    So the first part of the initial sollution is still good. (calculating the best numbers 3), but I have no clue how I can pick the right row (BE48:BE62). I've tries some what if functions, but I cant get there.
    Kaper (or others), do you have any idea?

    The right numbers 3 need to get in cells g49:g52
    Attached Files Attached Files
    Last edited by gittermaster; 06-26-2016 at 07:54 AM.

  7. #7
    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,623

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

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

    and in BD18:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy these 2 next 3 rows down.

    Then in BA46:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and in BB46:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy this one right.
    Of course in BB48:BE62 shall be not texts, but appropriate addresses, like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    etc.

  8. #8
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    very very creative!!!
    Thx again, problem solved.
    I see you are solving these problems by making numbers or ranks or values. I never did it that way before, but it seems very usefull.
    Now my last problem, but Im gonna try to solve it myself.
    As you can see in the schedule. Belgium ended up number 1 and Italy number 2. But in reality it was the other way around, because of the result of the match Italy-Belgium, which Italy won.
    So the calculating system worked perfect, but I didnt take into account that the result of the match of both teams counted first.

    Thx so far Kaper

  9. #9
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Hello Kaper and everybody else,
    I have a question.
    I've made a EC pool with the help a few years ago from Kaper, but I have one problem and I kindly ask your help.
    I built an excel that calculates all the standings etc. Also all teams going through to the next round.
    Now this year again there are four numbers three going through, which makes it a bit more difficult.

    Basically I need Excel to automatically fill in cells BP10, BP11, BP13 and BP14

    The last time I was here Kapser helped me with the same question. I'm close to the result but I need help in the last step.
    My excel automatically calculates the four best numbers 3 (BU3:BU6).
    I also have the schedule of the Uefa which shows which teams plays a certain opponent at a certain result (CA3:CE18).

    Now I only need excel to find my best four (BU3:BU6) in the matrix (BW3:BZ18) (in my case BW6:BZ6) and to name the countries behind the numbers.


    Ive attached the Excel and hope someone can help me out here.
    Attached Files Attached Files
    Last edited by gittermaster; 03-29-2024 at 10:38 AM. Reason: forgot attachment

  10. #10
    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,623

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    I'd expect that for BP10 formula below shall work (provided you in the meantime upgraded to Microsoft 365 - if yes, please change information in your profile: https://www.excelforum.com/profile.php?do=editprofile )

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

    and in next cells similar, but with CC4:CC18 and so on.

    (see the first file attached)



    If you have still older Excel, you may use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    instead.


    Please note that first INDEX argument is here a range starting in row 1 in CB1:CB18
    In the next cells use respectively CC1:CC18, etc.

    (see the second file attached)
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Kaper, thx a lot, it works!
    But when I copy pasted the formula it didnt, though I hace MS 365...
    After opening your attachment I noticed the following change : instead of "filter" in the formula it says: "_xlfn._xlws.FILTER".
    But with that it works out...
    Very helpfull again!!!

    hmm, after opening looking at the formula without changing and closing I get an error at your first attachment.
    Though your second attachment works out, so its still great.
    A little strange though, since I do use MS 365, but nevertheless, I'm helped out
    Last edited by gittermaster; 04-24-2024 at 03:03 AM.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,926

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    _xlfn._xlws.FILTER
    This means that you are not using a version of Excel that supports FILTER - are you SURE that you have 365 and not Excel 2019?

    Excel 2021 and 365 support FILTER.

    EDIT: Do you still have an older version of Office installed as well? If so, what is the default Office version for Office (particularly Excel) files on your system? Are they opening in an old version instead of the 365 client?
    Last edited by AliGW; 04-24-2024 at 03:05 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  13. #13
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Thanks for your replie...

    Attachment 867028

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,926

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    See my edit to poat #12. Do you have another version on your system? When you double-click an Excel file, which version is opening the file?

    You will NEVER get that error message with 365.

  15. #15
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    The edit might be the problem... I'm gonna check that out. Anyway, the second option works as weel, so I'm very happy with the result
    Last edited by AliGW; 04-24-2024 at 03:10 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,926

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    I think so - you need to check File Associations in Windows and make sure that Excel files are set to open with 365, and not the older version.

    The second option is for Excel versions older than 2021 and 365.

  17. #17
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Microsoft 365
    Posts
    32

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    thx all, updated everything, all works well now.
    Only minor detail, is that I had to use ";" instead of "," in the first formula, but I think that was just a mistype.
    Have a great day all!

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,926

    Re: How to calculate best numbers 3 i a certain rank or order (european championship)

    Only minor detail, is that I had to use ";" instead of "," in the first formula, but I think that was just a mistype.
    Not an error at all, no. European locales use ";" where everyone else pretty much uses ",". It depends on your locale and whether a decimal separator is a point or a comma. This is an Anglophone forum, so formulae are given in UK/US locale format.

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help

+ 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: 11-13-2015, 07:47 PM
  2. [SOLVED] Rank in Order of Value
    By HangMan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2015, 08:44 AM
  3. Rank Teams in Performance Order - not as easy as just =Rank...
    By excelnat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2015, 12:12 PM
  4. [SOLVED] Rank set of numbers order within respective Group ID in another column
    By Brawnystaff in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-28-2014, 04:08 PM
  5. [SOLVED] Using the RANK function to rank decimal numbers
    By CRinne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-29-2013, 02:14 PM
  6. Calculate the score for a football championship
    By Nuno Fale in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2012, 07:14 AM
  7. Replies: 0
    Last Post: 09-06-2005, 09:05 PM

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