Dynamic Images in League Table

William53

New Member
Joined
Jul 8, 2017
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hi All
I have created a league table for the Australian A-League that works dynamically when the results are inputted into the main datasheet. I would now like to create logos next/adjacent to the teams that move dynamically as the team moves up and down the league, as the results are inputted. Below is the league. Is it possible to create a formula that allows the right badge/crest to be placed in the badge column and this changes when the teams move up or down? I have the badges on a separate sheet and I have tested that I can display them using named ranges and it works (the only problem is, all the guidance I have found works on dropdown which is not practical). Any guidance will be greatly appreciated.

1646130424659.png
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
i have a solution but parts of it wont show using xl2bb.
you can download it here:
Loading Google Sheets
Hi ExceLoki
I have loaded the two sheets into my excel. I have changed the crests to suit the A League. Many thanks for that.
I have a calculations sheet of which the league table is the output.
When I try to place the same formulas into the "Standings" sheet I get the #Name or #value errors.
Any advice
 
Upvote 0
Hi ExceLoki
I have loaded the two sheets into my excel. I have changed the crests to suit the A League. Many thanks for that.
I have a calculations sheet of which the league table is the output.
When I try to place the same formulas into the "Standings" sheet I get the #Name or #value errors.
Any advice
can you use xl2bb to show what problems you are having?
 
Upvote 0
Hi ExcelOki
Please find below your sheet which i am trying to insert the formula into:
A League Stats.xlsx
ABCDEFGHIJKL
1positionteamsbadgeteamspwdlgfgagdpts
21Sydney FCSydney FC4651919031
32Adelaide UtdAdelaide Utd155642320330
43Western UtdWestern Utd149231711629
54Melbourne CityMelbourne City1584331211028
65Wellington PhoenixWellington Phoenix125341518-327
76Macarthur FCMacarthur FC136432119222
87Melbourne VictoryMelbourne Victory125341615118
98Newcastle JetsNewcastle Jets124352021-115
109WS WanderersWS Wanderers133371320-712
1110Perth GloryPerth Glory11326910-111
1211Central C. MarinersCentral C. Mariners123271720-311
1312Brisbane RoarBrisbane Roar123271118-711
Standings
Cell Formulas
RangeFormula
B2:B13B2=Standings!$D2



The sheet below is what I am trying to copy on the above sheet:
Cell Formulas
RangeFormula
E4:L15E4=VLOOKUP($D4,Calculations!$C$3:$K$14,COLUMN()-3,FALSE)
D4:D14D4=OFFSET(Calculations!$C$2,MATCH(A4,Calculations!$O$3:$O$14,0),0)
B4:B15B4=$D4


I cant seem to get the formulae above to work in the standings sheet

Many thanks

William
 
Upvote 0
would you be able to share the calculations sheet? it's hard to reference something when cannot see it.
 
Upvote 0
Please find calculations sheet as requested, this is fed from a normal table which has the results from each match already played
A League Stats.xlsx
CDEFGHIJKLMNO
2PWDLGFGAGDPtsGD*0.01GA*0.001PTS+GD+GARank
3Melbourne City16853332310290.10.02329.1231
4Perth Glory123361112-112-0.010.01212.0029
5Western Utd1492317116290.060.01129.0712
6WS Wanderers133371320-712-0.070.0211.9510
7Macarthur FC1364321192220.020.01922.0393
8Newcastle Jets124352021-115-0.010.02115.0118
9Adelaide Utd1556423203210.030.0221.054
10Sydney FC15465191901800.01918.0196
11Wellington Phoenix125341518-318-0.030.01817.9887
12Melbourne Victory1253416151180.010.01518.0255
13Brisbane Roar123271118-711-0.070.01810.94812
14Central C. Mariners123271720-311-0.030.0210.9911
Calculations
Cell Formulas
RangeFormula
C3:C14C3=UNIQUE(League!C2:C80,FALSE,FALSE)
D3:D14D3=COUNTIF(League1[[Home]:[Away]],Calculations!C3)
E3:E14E3=COUNTIFS(League1[Home],Calculations!C3,League1[R1],">0")+COUNTIFS(League1[Away],Calculations!C3,League1[R1],"<0")
F3:F14F3=COUNTIFS(League1[Away],Calculations!C3,League1[R1],"=0")+COUNTIFS(League1[Home],Calculations!C3,League1[R1],"=0")
G3:G14G3=D3-E3-F3
H3:H14H3=SUMIFS(League1[H],League1[Home],Calculations!C3)+SUMIFS(League1[A],League1[Away],Calculations!C3)
I3:I14I3=SUMIFS(League1[A],League1[Home],Calculations!C3)+SUMIFS(League1[H],League1[Away],Calculations!C3)
J3:J14J3=H3-I3
K3:K14K3=SUM(E3*3)+(F3*1)
L3:L14L3=J3*0.01
M3:M14M3=I3*0.001
N3:N14N3=SUM(K3:M3)
O3:O14O3=RANK.EQ(N3,$N$3:$N$14,0)
Dynamic array formulas.
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: https://www.myonlinetraininghub.com/excel-forum/excel/dynamic-football-crests
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Upvote 0
Solution

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top