2 Values on a PivotTable

drom

Well-known Member
Joined
Mar 20, 2005
Messages
543
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and Thanks in Advance!

I have a Table on a WorkSheet containing the following headings:
A1="Year", B1="Winner's Country", C1="Winner", D1="Score", E1="runner-up's Country", F1="runner-up"

This is to show the information contained on the Web:
http://es.wikipedia.org/wiki/Liga_de_Campeones_de_la_UEFA
when you find the Word "Sede Final".

* * *
I am trying to create a Pivot Table to show the results the same way this webSite does when you find the Words "Lista de países con clubes finalistas" together

I am able to replicate the first to columns using as row labels ="Winner's Country" and Values="Winner"

But I am Not able to get the 3rd column, so how many times a Country has finished in second place on the right on how many times this country it's been the winner.
I guess you will understand better going to the WebSite and lookinf for:
"Lista de países con clubes finalistas"

Thanks!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
You need to re-organise your data to get a PivotTable like that. Have a look at this:

Excel Workbook
ABCDEFGH
1YearCountryTeamPosition*Count of TeamPosition*
21955/56SpainReal MadridWinner*CountryWinnerRunner up
31955/56FranceStade de ReimsRunner up*Spain139
41956/57SpainReal MadridWinner*Italy1214
51956/57ItalyACF FiorentinaRunner up*England117
61957/58SpainReal MadridWinner*BeNeLux63
71957/58ItalyAC MilanRunner up*Germany68
81958/59SpainReal MadridWinner*Portugal45
91958/59FranceStade de ReimsRunner up*France15
101959/60SpainReal MadridWinner*Serbia11
111959/60GermanyEintracht FrankfurtRunner up*Rumana11
121960/61PortugalBenficaWinner*Scotland11
131960/61SpainBarcelonaRunner up*Sweden*1
141961/62PortugalBenficaWinner*Greece*1
151961/62SpainReal MadridRunner up****
161962/63ItalyAC MilanWinner****
Sheet30




Not that I can get it sort on Winner then Runner-up. :-(
 
Upvote 0
Or, you could have 2 pivottables from your existing table, and use formulas to create your desired output, like this:

Excel Workbook
ABCDEFGHI
1CountryWinnerRunner up
2Spain139
3Count of Winner's CountryCount of Runner-up's CountryItaly1214
4Winner's CountryTotalRunner-up's CountryTotalEngland117
5Spain13Italy14Germany68
6Italy12Spain9BeNeLux63
7England11Germany8Portugal45
8Germany6England7France15
9BeNeLux6France5Scotland11
10Portugal4Portugal5Serbia11
11Scotland1BeNeLux3Rumana11
12France1Greece1Greece01
13Serbia1Sweden1Sweden01
14Rumana1Scotland1
15Rumana1
16Serbia1
Sheet29
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,310
Members
452,906
Latest member
phanmemchatdakenhupviral

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