Hi Guys,
It's is hard to describe what I need in subjects title. Maybe let me start with dataset:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]PROB0001[/TD]
[TD]01.02.2019[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description1[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]04.05.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]Assigned[/TD]
[TD]Description2[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description3[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Katarina Valentina[/TD]
[TD]WIP[/TD]
[TD]Description4[/TD]
[/TR]
[TR]
[TD]PROB0003[/TD]
[TD]04.09.2019[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description5[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]04.01.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]WIP[/TD]
[TD]Description6[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong[/TD]
[TD]Assigned[/TD]
[TD]Description7[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description8[/TD]
[/TR]
</tbody>[/TABLE]
Ideal expected result:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]PROB0001[/TD]
[TD]01.02.2019[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description1[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]04.05.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]Assigned[/TD]
[TD]Description2[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Marco Polo; Katarina Valentina[/TD]
[TD]WIP; WIP[/TD]
[TD]Description3; Description4;[/TD]
[/TR]
[TR]
[TD]PROB0003[/TD]
[TD]04.09.2019[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description5[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]04.01.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]WIP[/TD]
[TD]Description6[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong; Louis de Pingpong[/TD]
[TD]Assigned; WIP[/TD]
[TD]Description7; Description8[/TD]
[/TR]
</tbody>[/TABLE]
If for specific Problem ID the same date appears certain amount of times, it should marge the values for all columns. So first it looks if the problem ID is the same and than looks for dates that occur more then once to merge it.
The wider which I need that for is to create appointments for specific date for specific problem.
Thank you in advance!
Regards,
Witek
It's is hard to describe what I need in subjects title. Maybe let me start with dataset:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]PROB0001[/TD]
[TD]01.02.2019[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description1[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]04.05.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]Assigned[/TD]
[TD]Description2[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description3[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Katarina Valentina[/TD]
[TD]WIP[/TD]
[TD]Description4[/TD]
[/TR]
[TR]
[TD]PROB0003[/TD]
[TD]04.09.2019[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description5[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]04.01.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]WIP[/TD]
[TD]Description6[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong[/TD]
[TD]Assigned[/TD]
[TD]Description7[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description8[/TD]
[/TR]
</tbody>[/TABLE]
Ideal expected result:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]PROB0001[/TD]
[TD]01.02.2019[/TD]
[TD]Marco Polo[/TD]
[TD]WIP[/TD]
[TD]Description1[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]04.05.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]Assigned[/TD]
[TD]Description2[/TD]
[/TR]
[TR]
[TD]PROB0002[/TD]
[TD]06.07.2018[/TD]
[TD]Marco Polo; Katarina Valentina[/TD]
[TD]WIP; WIP[/TD]
[TD]Description3; Description4;[/TD]
[/TR]
[TR]
[TD]PROB0003[/TD]
[TD]04.09.2019[/TD]
[TD]Louis de Pingpong[/TD]
[TD]WIP[/TD]
[TD]Description5[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]04.01.2018[/TD]
[TD]Vaso da Bosco[/TD]
[TD]WIP[/TD]
[TD]Description6[/TD]
[/TR]
[TR]
[TD]PROB0004[/TD]
[TD]07.03.2018[/TD]
[TD]Louis de Pingpong; Louis de Pingpong[/TD]
[TD]Assigned; WIP[/TD]
[TD]Description7; Description8[/TD]
[/TR]
</tbody>[/TABLE]
If for specific Problem ID the same date appears certain amount of times, it should marge the values for all columns. So first it looks if the problem ID is the same and than looks for dates that occur more then once to merge it.
The wider which I need that for is to create appointments for specific date for specific problem.
Thank you in advance!
Regards,
Witek