Hey all
I have three fields as follows:
Group, RD, Schedule
AD, LRC1, Mon-Fri 07:30-17:00
AD, LRC2, Mon-Fri 07:30-13:00
FM, LRC1, Mon-Fri 07:30-17:00
FM, LRC2, Mon-Fri 07:30-13:00
JK, LRC1, Weekdays
JK, LRC2, All day
JK, Main1, All day
I would like to get all the groups that are exactly the same so that they both have the same RD and Schedule. So I would like to get:
Group, RD, Schedule
AD, LRC1, Mon-Fri 07:30-17:00
AD, LRC2, Mon-Fri 07:30-13:00
FM, LRC1, Mon-Fri 07:30-17:00
FM, LRC2, Mon-Fri 07:30-13:00
because they both have LRC1 and LRC2 AND both the schedules are exactly the same.
The purpose of this exercise is to delete groups that have the same RD and schedules. There's no need to have two groups with the same contents.
This might make it better to understand:
Group AD has the following:
LRC1, Mon-Fri 07:30-17:00
LRC2, Mon-Fri 07:30-13:00
Group FM has also got:
LRC1, Mon-Fri 07:30-17:00
LRC2, Mon-Fri 07:30-13:00
So I don't want to duplicate groups. I want to see which ones are the same so I can delete either one.
Hope this makes sense.
Is there a way to do this? Any response will be highly appreciated.
Many thanks,
Rupa
I have three fields as follows:
Group, RD, Schedule
AD, LRC1, Mon-Fri 07:30-17:00
AD, LRC2, Mon-Fri 07:30-13:00
FM, LRC1, Mon-Fri 07:30-17:00
FM, LRC2, Mon-Fri 07:30-13:00
JK, LRC1, Weekdays
JK, LRC2, All day
JK, Main1, All day
I would like to get all the groups that are exactly the same so that they both have the same RD and Schedule. So I would like to get:
Group, RD, Schedule
AD, LRC1, Mon-Fri 07:30-17:00
AD, LRC2, Mon-Fri 07:30-13:00
FM, LRC1, Mon-Fri 07:30-17:00
FM, LRC2, Mon-Fri 07:30-13:00
because they both have LRC1 and LRC2 AND both the schedules are exactly the same.
The purpose of this exercise is to delete groups that have the same RD and schedules. There's no need to have two groups with the same contents.
This might make it better to understand:
Group AD has the following:
LRC1, Mon-Fri 07:30-17:00
LRC2, Mon-Fri 07:30-13:00
Group FM has also got:
LRC1, Mon-Fri 07:30-17:00
LRC2, Mon-Fri 07:30-13:00
So I don't want to duplicate groups. I want to see which ones are the same so I can delete either one.
Hope this makes sense.
Is there a way to do this? Any response will be highly appreciated.
Many thanks,
Rupa
Last edited: