Hello,
I would love o get some help with this problem, since it was quite some time i used excel for more than summing things up.
So - I've got a table with about 1000 rows, and four columns.
The first column has the ID of a place.
The second column has the name of that place
The second column has a date of when the place was inspected
The third column has the 0-5 verdict of the place
The problem is that each place are inspected various times so that some places have been inspected 4 times, and some 0.
This means that the table might look something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Place
[/TD]
[TD]Name
[/TD]
[TD]Date
[/TD]
[TD]Verdict
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2015.02.20
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2016.01.15
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2017.03.01
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second place
[/TD]
[TD]2014.02.10
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second place
[/TD]
[TD]2017.01.10
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]723
[/TD]
[TD]Third place
[/TD]
[TD]2016.08.10
[/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the last three times the places were inspected, what date and verdict laid out in columns, how do I do that?
How do I get that table to look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Place
[/TD]
[TD]Name
[/TD]
[TD]1st
[/TD]
[TD]Verdict
[/TD]
[TD]2nd
[/TD]
[TD]Verdict
[/TD]
[TD]3rd
[/TD]
[TD]Verdict
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First Place
[/TD]
[TD]2015.02.20
[/TD]
[TD]3
[/TD]
[TD]2016.01.15
[/TD]
[TD]3
[/TD]
[TD]2017.03.01
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second Place
[/TD]
[TD]2014.02.10
[/TD]
[TD]2
[/TD]
[TD]2017.01.10
[/TD]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]723
[/TD]
[TD]Third Place
[/TD]
[TD]2016.08.10
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help.
I would love o get some help with this problem, since it was quite some time i used excel for more than summing things up.
So - I've got a table with about 1000 rows, and four columns.
The first column has the ID of a place.
The second column has the name of that place
The second column has a date of when the place was inspected
The third column has the 0-5 verdict of the place
The problem is that each place are inspected various times so that some places have been inspected 4 times, and some 0.
This means that the table might look something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Place
[/TD]
[TD]Name
[/TD]
[TD]Date
[/TD]
[TD]Verdict
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2015.02.20
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2016.01.15
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First place
[/TD]
[TD]2017.03.01
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second place
[/TD]
[TD]2014.02.10
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second place
[/TD]
[TD]2017.01.10
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]723
[/TD]
[TD]Third place
[/TD]
[TD]2016.08.10
[/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]
I need to get the last three times the places were inspected, what date and verdict laid out in columns, how do I do that?
How do I get that table to look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Place
[/TD]
[TD]Name
[/TD]
[TD]1st
[/TD]
[TD]Verdict
[/TD]
[TD]2nd
[/TD]
[TD]Verdict
[/TD]
[TD]3rd
[/TD]
[TD]Verdict
[/TD]
[/TR]
[TR]
[TD]521
[/TD]
[TD]First Place
[/TD]
[TD]2015.02.20
[/TD]
[TD]3
[/TD]
[TD]2016.01.15
[/TD]
[TD]3
[/TD]
[TD]2017.03.01
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]622
[/TD]
[TD]Second Place
[/TD]
[TD]2014.02.10
[/TD]
[TD]2
[/TD]
[TD]2017.01.10
[/TD]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]723
[/TD]
[TD]Third Place
[/TD]
[TD]2016.08.10
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help.