Summary Report

Status
Not open for further replies.

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Hi
I am attempting to summarize a team’s play report. Columns A, B & C is the playing program (Week No. / Team location (away or home)).

I require this to be summarized in Columns E to H specifically, column F to show which team the team noted in cell F1 played in the nominated round shown in column E and also its location HOME if located in column B or AWAY if located in column C. Cells F2 to G5 require the solution formula. In this example, Team – 2 is being analysed (cell F1).

Column H is nothing – I have just provided it to show the rows from which the data need to be extracted.

Thanks


Book1
ABCDEFGH
1WeekHome - TeamAway - TeamWeekTeam - 2LocationComments
21Team - 1Team - 21Team - 1Away(row 2)
31Team - 3Team - 42Team - 7Home(row 6)
41Team - 5Team - 63Team - 3Away(row 11)
51Team - 7Team - 84Team - 5Home(row 16)
62Team - 2Team - 7
72Team - 3Team - 4
82Team - 5Team - 6
92Team - 8Team - 1
103Team - 1Team - 4
113Team - 3Team - 2
123Team - 5Team - 7
133Team - 6Team - 8
144Team - 8Team - 7
154Team - 6Team - 4
164Team - 2Team - 5
174Team - 3Team - 1
Sheet1
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi Bebo

Not sure if you are able to see this (which relates to an earlier thread you helped with) but I rearranged my worksheet a bit and am now having errors.

The source table (A1 to C32) is actually located on another worksheet. I'm not sure if this is the problem or not. The formula in cells H2:H5 is not working properly. The objective is to identify whether the team being analysed in cell E2 is playing "HOME" or "AWAY".

Book1
ABCDEFGHI
1WeekTeam - HomeTeam - AwayTeam AnalysedWeekTeamGround
21Sea EaglesRabbitohsBroncos1Roosters#VALUE!Should read "AWAY"
31RoostersBroncos2Rabbitohs#VALUE!Should read "HOME"
41KnightsRaiders3Panthers#VALUE!Should read "AWAY"
51WarriorsSharks4Cowboys#VALUE!Should read "HOME"
61StormPanthers
71EelsBulldogs
81TitansDragons
91DolphinsCowboys
102BroncosRabbitohs
112SharksBulldogs
122PanthersEels
132RaidersTigers
142CowboysKnights
152StormWarriors
162Sea EaglesRoosters
172DolphinsDragons
183PanthersBroncos
193WarriorsRaiders
203RoostersRabbitohs
213BulldogsTitans
223DragonsCowboys
233TigersSharks
243EelsSea Eagles
253KnightsStorm
264RoostersPanthers
274RabbitohsBulldogs
284BroncosCowboys
294DragonsSea Eagles
304TitansDolphins
314WarriorsKnights
324SharksRaiders
Sheet2
Cell Formulas
RangeFormula
G2:G5G2=IFERROR(LOOKUP(2,1/($A$2:$A$32=$F2)/($C$2:$C$32=$E$2),$B$2:$B$32),LOOKUP(2,1/($A$2:$A$32=$F2)/($B$2:$B$32=$E$2),$C$2:$C$32))
H2:H5H2=CHOOSE(AGGREGATE(15,6,COLUMN($B$1:$C$1)/($B$2:$C$32=G2)/($A$2:$A$32=F2)-3,1),"Home","Away")
 
Upvote 0
Just returned and saw your message. I apologize for making you wait.
Given that your data is on a different sheet and within a table, it has become complex.
It would be best if you upload the file using Google Drive.
See you soon.
 
Upvote 0
In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,658
Latest member
GStorm

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