Finding the Right Excel Formula and putting it together

Copper Contributor

Hi All,
This is my first time using this forum but I've hit a roadblock. I'm trying to create a tool/calculator for the line of work which is scouting football/soccer players across the world and to bring them to the UK. I'm  using Excel which part of my Microsoft365 subscription.

I have attached a table for review. As you can see that the table in based on criteria, if both percentage and the ranking is met, the cell should give the output which is highlighted in green, orange or red.

 

So for example player x plays for an international country that is ranked number 12 in the world and he has achieved 91% of total minutes played in matches over the last 2 years (this information is inputted in different cells within my worksheet). The cell where I want the result to be in should give me an Auto Pass. If another player plays 25% of total minutes played in matches over the last 2 years and the ranking of the team is number, it should give me an answer of 10. If the tanking of the team was 60 it would be 0.

 

I know this is going to be a complex formula as a lot of statements are required to build the formula, with the answer being presented in a single cell, not multiple cells. I hope this explains what i'm trying to do. If there any further questions please do let me know but once i've resolved this, this can help me throughout the rest of the tool.

 

Thank you in advance.

 

11 Replies
I can suggest you a method to achieve but what I need is some sample data,, like Player his Rank & Minutes he/she played year wise,,, and the criteria for putting Auto and others like 0 to 10 under what circumstances,, or if possible please share the WB with us.

@ozzie4khawaja Since you indicated to be a MS365 subscriber, you can use INDEX and XMATCH to achieve your goal, fairly easily, as demonstrated in the attached workbook and on the basis of the scoring table in your screenshot. I changed the column and row headers to numbers, though.

@Riny_van_Eekelen Hello Rinky, thank you so much for providing your workbook, it seems like most of the example you provided works however I checked that if the player scores 5% playing time with a ranking of 1, it comes back with 0 points when it should come back with 8 points.

Hi Riny, I've tried to follow your formula and input that into my workbook but my results don't match yours. I'll attach my worksheet to the main post. Your A & B column cells are on the main calculator tab under the first greyed out box and the table is under FIFA Ranking. Can you tell me where I'm going wrong?

@ozzie4khawaja Sorry, you loose me here. I know nothing about football and find the form quite confusing. Kindly fill it in with an example and indicate where the calculation is made and what's wrong.

Ok i'll send you the screenshots for you to see, hopefully that will help
Now attached, i've highlighted the formula i've used, the cells involved and the table which is on another tab. Hopefully this should remove any confusion.

@ozzie4khawaja Since you didn't attach the actual sheet with the formula in it, I did something in the one you did upload earlier.  Attaching it below.

 

Screenshot 2021-03-12 at 16.25.02.png

J2 is a number, H2 is formatted as text (!) and I entered "25%" (without the quotes) and the result is displayed in L2. Seems correct to me. Hopefully you can replicate it in your own workbook.

Hi Riny, thank you so so so much. I've managed to get it to work, finally.

Hi @ozzie4khawaja 

 

Was wondering if you managed to complete the whole calculator? Would love to see the final product!