Copying and transposing data from one worksheet to another

parvezs27

New Member
Joined
Jun 27, 2022
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I am an Excel beginner, with basic knowledge.

I am collecting Australian Football Data into Excel.
I've gone through what the process is like below.

I want to know how I can make this process more efficient and automated? Can I utilise a macro or something else that can copy, paste and transpose the data as my final desired result?

Thank you!

1. Copy data from table on website (screenshot below) into Excel.
1669680240001.png


2. Paste into excel and match destination formatting:
Excel SS-min.png


3. Transpose, copy and paste into another worksheet, final desired result below:
Excel 2 SS.png


Book2
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBA
1COPIED AND PASTED DATA FROM WEBSITE
2
3Total Disposals26624719Christ Church GrammarGuilford Grammar SchoolDiffChrist Church GrammarGuilford Grammar SchoolDiff
4Contested Disposals87843Total Marks663828Hit Outs552926
5Uncontested Disposals17916316Contested Marks826Hit Outs to Advantage1587
6Total Kicks17415915Uncontested Marks583622Total Tackles70700
7Intercept Possessions604713Intercept Marks14113Effective Tackles4953-4
8Effective Kicks998712Total Inside 50 Marks910-1Back 50 Tackles914-5
9Ineffective Kicks75723Deep Inside 50 Marks14-3Midfield Tackles49490
10Total Handballs92884Shallow Inside 50 Marks862Forward 50 Tackles1275
11Effective Handballs74686Total Inside 50's3839-1Frees Kicks2232-10
12Ineffective Handballs1820-2Shallow Inside 50's2630-450m Penalty01-1
13Handball Receives880Deep Inside 50's1293Total Turnovers6075-15
14Total Clearances41401Total Rebound 50's31265Back 50 Turnovers1165
15Clearances - Center Bounce910-1Shallow Rebound 50's26188Midfield Turnovers3447-13
16Clearances - Ball up19181Deep Rebound 50's58-3Forward 50 Turnovers1522-7
17Clearances - Throw in13121Total Ground Balls89107-18Goals1183
18Pressure Acts7677-1Loose Ball Gets6879-11Behinds880
19Knock Ons819-11Hard Ball Gets2128-7Rushed Behinds000
20Fumbles1899
21DESIRED FORMAT OF THE DATA
22
23TeamRoundWin/LossTotal DisposalsContested DisposalsUncontested DisposalsTotal KicksIntercept PossessionsEffective KicksIneffective KicksTotal HandballsEffective HandballsIneffective HandballsHandball ReceivesTotal ClearancesClearances - Center BounceClearances - Ball upClearances - Throw inPressure ActsKnock OnsTotal MarksContested MarksUncontested MarksIntercept MarksTotal Inside 50 MarksDeep Inside 50 MarksShallow Inside 50 MarksTotal Inside 50'sShallow Inside 50'sDeep Inside 50'sTotal Rebound 50'sShallow Rebound 50'sDeep Rebound 50'sTotal Ground BallsLoose Ball GetsHard Ball GetsFumblesHit OutsHit Outs to AdvantageTotal TacklesEffective TacklesBack 50 TacklesMidfield TacklesForward 50 TacklesFrees Kicks50m PenaltyTotal TurnoversBack 50 TurnoversMidfield TurnoversForward 50 TurnoversGoalsBehindsRushed Behinds
24Wesley College PSA11296902061725210369124103216288119563647571811110382711432716916724926558301433112407564821962
25Aquinas College1030710020719949106931088226531610156917412621212210493514291811956926636186235739162637053134780
26Guildford Grammar102558517015352856810276261323689108206155612725302643829910169321124363281536121517554921341
27Hale School11328116212201651435812710423431101296799519762019514534013272341178532434839204269170604312516123
28Christ Church Grammar113089021820663129771028022329415108188615711414594832162923612998311229365256471223073437321161
29Trinity College10312106206205591051001078423535813141091278146414606342863729812083371030115927143872118666416371
30Trinity College2138613924726681158108120107136379111783111192099288085448650446131983310351484771650182009365631961
Sheet1
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I suggest using Power Query to bring the data in from the web page and transforming it in the Power Query editor. It's relatively simple. Great You Tube playlists can be found here and here.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,118
Members
453,021
Latest member
Justyna P

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