Brutality
New Member
- Joined
- Feb 5, 2003
- Messages
- 44
Hi,
It's been a while and I haven't used excel a lot of late so I'm more than a little rusty (although I still code) and now I'm trying to help automate a process for my father.
Each year he holds a car hill climb event, with 4 timed runs per competitor. What I would like to do is analyse all events and produce a report that outputs each drivers single best time (irrespective of car or year). Initially I had each event on a separate sheet, but have amalgamated all data, adding a year column. Data appears as so, up to 2017:
<style type="text/css"> body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Arial"; font-size:x-small } a.comment-indicator:hover + comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em; } a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em; } comment { display:none; } </style>
<tbody>
[TD="align: center"] YEAR [/TD]
[TD="align: center"] NO. [/TD]
[TD="align: left"] NAME [/TD]
[TD="align: left"] CAR TYPE [/TD]
[TD="align: center"] RUN ONE [/TD]
[TD="align: center"] RUN TWO [/TD]
[TD="align: center"] RUN THREE [/TD]
[TD="align: center"] RUN FOUR [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 1 [/TD]
[TD="align: left"] D Shanks [/TD]
[TD="align: left"] Austin Healey [/TD]
[TD="align: center"] 34.87 [/TD]
[TD="align: center"] 34.71 [/TD]
[TD="align: center"] 34.85 [/TD]
[TD="align: center"] 34.73 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 2 [/TD]
[TD="align: left"] E Henderson [/TD]
[TD="align: left"] Jaguar MK2 [/TD]
[TD="align: center"] 34.87 [/TD]
[TD="align: center"] 34.93 [/TD]
[TD="align: center"] 33.20 [/TD]
[TD="align: center"] 32.73 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 3 [/TD]
[TD="align: left"] J McFadzien [/TD]
[TD="align: left"] Singer Vogue [/TD]
[TD="align: center"] 40.73 [/TD]
[TD="align: center"] 40.10 [/TD]
[TD="align: center"] 39.92 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 7 [/TD]
[TD="align: left"] P Rissell [/TD]
[TD="align: left"] TR2 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 37.24 [/TD]
[TD="align: center"] 36.98 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 9 [/TD]
[TD="align: left"] B Sheddan [/TD]
[TD="align: left"] Sunbeam Rapier [/TD]
[TD="align: center"] 38.33 [/TD]
[TD="align: center"] 38.33 [/TD]
[TD="align: center"] 37.49 [/TD]
[TD="align: center"] 36.51 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 10 [/TD]
[TD="align: left"] S Quertier [/TD]
[TD="align: left"] V/8 Special [/TD]
[TD="align: center"] 32.52 [/TD]
[TD="align: center"] 32.52 [/TD]
[TD="align: center"] 31.29 [/TD]
[TD="align: center"] 30.06 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 1 [/TD]
[TD="align: left"] D Shanks [/TD]
[TD="align: left"] Austin Healey [/TD]
[TD="align: center"] 34.62 [/TD]
[TD="align: center"] 33.55 [/TD]
[TD="align: center"] 33.27 [/TD]
[TD="align: center"] 33.25 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 2 [/TD]
[TD="align: left"] E Henderson [/TD]
[TD="align: left"] Jaguar MK2 [/TD]
[TD="align: center"] 32.98 [/TD]
[TD="align: center"] 32.58 [/TD]
[TD="align: center"] 32.42 [/TD]
[TD="align: center"] 32.18 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 4 [/TD]
[TD="align: left"] J McFadzien [/TD]
[TD="align: left"] BMW [/TD]
[TD="align: center"] 33.10 [/TD]
[TD="align: center"] 32.58 [/TD]
[TD="align: center"] 31.88 [/TD]
[TD="align: center"] 31.00 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 5 [/TD]
[TD="align: left"] D Harris [/TD]
[TD="align: left"] Johnstone FF [/TD]
[TD="align: center"] 27.05 [/TD]
[TD="align: center"] 26.74 [/TD]
[TD="align: center"] 26.31 [/TD]
[TD="align: center"] 26.46 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 6 [/TD]
[TD="align: left"] N Atley [/TD]
[TD="align: left"] Begg FF [/TD]
[TD="align: center"] 25.97 [/TD]
[TD="align: center"] 25.57 [/TD]
[TD="align: center"] 25.65 [/TD]
[TD="align: center"] 25.46 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 7 [/TD]
[TD="align: left"] B Sheddan [/TD]
[TD="align: left"] Sunbeam Rapier [/TD]
[TD="align: center"] 35.67 [/TD]
[TD="align: center"] 36.04 [/TD]
[TD="align: center"] 37.29 [/TD]
[TD="align: center"] 36.11 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 10 [/TD]
[TD="align: left"] D McDonald [/TD]
[TD="align: left"] Alfa Romeo [/TD]
[TD="align: center"] 38.46 [/TD]
[TD="align: center"] 31.25 [/TD]
[TD="align: center"] 30.88 [/TD]
[TD="align: center"] 31.01 [/TD]
</tbody>
And I want to produce something like the following, sorted by fastest to slowest time for every driver that has ever entered:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]E Henderson[/TD]
[TD]32.18[/TD]
[TD]Jaguar MK2[/TD]
[TD]Run Four[/TD]
[TD]2007[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]D Shanks[/TD]
[TD]33.25[/TD]
[TD]Austin Healey[/TD]
[TD]Run Four[/TD]
[TD]2007[/TD]
[/TR]
</tbody>[/TABLE]
On occasion some entries didn't complete all runs, so there are empty cells here and there. Originally I thought a pivot table might be the solution, but the more I investigate that option the more I think I'm wrong. Any ideas on how to achieve this as I really don't want to do it manually??
All help appreciated and TIA
--
Mark
It's been a while and I haven't used excel a lot of late so I'm more than a little rusty (although I still code) and now I'm trying to help automate a process for my father.
Each year he holds a car hill climb event, with 4 timed runs per competitor. What I would like to do is analyse all events and produce a report that outputs each drivers single best time (irrespective of car or year). Initially I had each event on a separate sheet, but have amalgamated all data, adding a year column. Data appears as so, up to 2017:
<style type="text/css"> body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Arial"; font-size:x-small } a.comment-indicator:hover + comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em; } a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em; } comment { display:none; } </style>
<tbody>
[TD="align: center"] YEAR [/TD]
[TD="align: center"] NO. [/TD]
[TD="align: left"] NAME [/TD]
[TD="align: left"] CAR TYPE [/TD]
[TD="align: center"] RUN ONE [/TD]
[TD="align: center"] RUN TWO [/TD]
[TD="align: center"] RUN THREE [/TD]
[TD="align: center"] RUN FOUR [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 1 [/TD]
[TD="align: left"] D Shanks [/TD]
[TD="align: left"] Austin Healey [/TD]
[TD="align: center"] 34.87 [/TD]
[TD="align: center"] 34.71 [/TD]
[TD="align: center"] 34.85 [/TD]
[TD="align: center"] 34.73 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 2 [/TD]
[TD="align: left"] E Henderson [/TD]
[TD="align: left"] Jaguar MK2 [/TD]
[TD="align: center"] 34.87 [/TD]
[TD="align: center"] 34.93 [/TD]
[TD="align: center"] 33.20 [/TD]
[TD="align: center"] 32.73 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 3 [/TD]
[TD="align: left"] J McFadzien [/TD]
[TD="align: left"] Singer Vogue [/TD]
[TD="align: center"] 40.73 [/TD]
[TD="align: center"] 40.10 [/TD]
[TD="align: center"] 39.92 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 7 [/TD]
[TD="align: left"] P Rissell [/TD]
[TD="align: left"] TR2 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 38.95 [/TD]
[TD="align: center"] 37.24 [/TD]
[TD="align: center"] 36.98 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 9 [/TD]
[TD="align: left"] B Sheddan [/TD]
[TD="align: left"] Sunbeam Rapier [/TD]
[TD="align: center"] 38.33 [/TD]
[TD="align: center"] 38.33 [/TD]
[TD="align: center"] 37.49 [/TD]
[TD="align: center"] 36.51 [/TD]
[TD="align: center"] 2006 [/TD]
[TD="align: center"] 10 [/TD]
[TD="align: left"] S Quertier [/TD]
[TD="align: left"] V/8 Special [/TD]
[TD="align: center"] 32.52 [/TD]
[TD="align: center"] 32.52 [/TD]
[TD="align: center"] 31.29 [/TD]
[TD="align: center"] 30.06 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 1 [/TD]
[TD="align: left"] D Shanks [/TD]
[TD="align: left"] Austin Healey [/TD]
[TD="align: center"] 34.62 [/TD]
[TD="align: center"] 33.55 [/TD]
[TD="align: center"] 33.27 [/TD]
[TD="align: center"] 33.25 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 2 [/TD]
[TD="align: left"] E Henderson [/TD]
[TD="align: left"] Jaguar MK2 [/TD]
[TD="align: center"] 32.98 [/TD]
[TD="align: center"] 32.58 [/TD]
[TD="align: center"] 32.42 [/TD]
[TD="align: center"] 32.18 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 4 [/TD]
[TD="align: left"] J McFadzien [/TD]
[TD="align: left"] BMW [/TD]
[TD="align: center"] 33.10 [/TD]
[TD="align: center"] 32.58 [/TD]
[TD="align: center"] 31.88 [/TD]
[TD="align: center"] 31.00 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 5 [/TD]
[TD="align: left"] D Harris [/TD]
[TD="align: left"] Johnstone FF [/TD]
[TD="align: center"] 27.05 [/TD]
[TD="align: center"] 26.74 [/TD]
[TD="align: center"] 26.31 [/TD]
[TD="align: center"] 26.46 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 6 [/TD]
[TD="align: left"] N Atley [/TD]
[TD="align: left"] Begg FF [/TD]
[TD="align: center"] 25.97 [/TD]
[TD="align: center"] 25.57 [/TD]
[TD="align: center"] 25.65 [/TD]
[TD="align: center"] 25.46 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 7 [/TD]
[TD="align: left"] B Sheddan [/TD]
[TD="align: left"] Sunbeam Rapier [/TD]
[TD="align: center"] 35.67 [/TD]
[TD="align: center"] 36.04 [/TD]
[TD="align: center"] 37.29 [/TD]
[TD="align: center"] 36.11 [/TD]
[TD="align: center"] 2007 [/TD]
[TD="align: center"] 10 [/TD]
[TD="align: left"] D McDonald [/TD]
[TD="align: left"] Alfa Romeo [/TD]
[TD="align: center"] 38.46 [/TD]
[TD="align: center"] 31.25 [/TD]
[TD="align: center"] 30.88 [/TD]
[TD="align: center"] 31.01 [/TD]
</tbody>
And I want to produce something like the following, sorted by fastest to slowest time for every driver that has ever entered:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]E Henderson[/TD]
[TD]32.18[/TD]
[TD]Jaguar MK2[/TD]
[TD]Run Four[/TD]
[TD]2007[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]D Shanks[/TD]
[TD]33.25[/TD]
[TD]Austin Healey[/TD]
[TD]Run Four[/TD]
[TD]2007[/TD]
[/TR]
</tbody>[/TABLE]
On occasion some entries didn't complete all runs, so there are empty cells here and there. Originally I thought a pivot table might be the solution, but the more I investigate that option the more I think I'm wrong. Any ideas on how to achieve this as I really don't want to do it manually??
All help appreciated and TIA
--
Mark
Last edited: