hakunamatata167
New Member
- Joined
- May 11, 2017
- Messages
- 8
Hi All,
I need help merging multiple rows which match certain criteria (i.e. cells matching for date, specialty, location and person) to produce one entry, for example
[TABLE="width: 477"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Time[/TD]
[TD]Speciality[/TD]
[TD]Location[/TD]
[TD]Person[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]morning[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]afternoon[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]evening[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]morning[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]afternoon[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
</tbody>[/TABLE]
Would condense down into:
[TABLE="width: 477"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Time[/TD]
[TD]Speciality[/TD]
[TD]Location[/TD]
[TD]Person[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]Triple Session[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]All Day[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
</tbody>[/TABLE]
e.g. if all other cells match, then morning+afternoon+evening would equal triple session; moring+afternoon would equal all day.
Thanks for any help/ideas
I need help merging multiple rows which match certain criteria (i.e. cells matching for date, specialty, location and person) to produce one entry, for example
[TABLE="width: 477"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Time[/TD]
[TD]Speciality[/TD]
[TD]Location[/TD]
[TD]Person[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]morning[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]afternoon[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]evening[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]morning[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]afternoon[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
</tbody>[/TABLE]
Would condense down into:
[TABLE="width: 477"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Time[/TD]
[TD]Speciality[/TD]
[TD]Location[/TD]
[TD]Person[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]Triple Session[/TD]
[TD]TeamCap[/TD]
[TD]Brooklyn[/TD]
[TD]Captain America[/TD]
[/TR]
[TR]
[TD]15/04/18[/TD]
[TD]All Day[/TD]
[TD]TeamStark[/TD]
[TD]Long Island[/TD]
[TD]Iron Man[/TD]
[/TR]
</tbody>[/TABLE]
e.g. if all other cells match, then morning+afternoon+evening would equal triple session; moring+afternoon would equal all day.
Thanks for any help/ideas