I am looking for a way to determine when a value in a child row is unqiur from values in other children (in the same parent).
EXAMPLE:
I have a sheet with four courses. A course may have children if it is offered in more than one modality (e.g., a row if offered om ground and another row if offered online). If it is only offered in one modality, it is one row, no children
COURSE 1 (SME: John, 1) <-- no children
COURSE 2 <--parent
Modality 1 (SME: Tara, 1) <-- child
Modality 2 (SME: Tara, 0) <-- child
COURSE 3
Modality 1 (SME: Greg, 1)
Modality 2 (SME: Greg, 0)
Modality 3 (SME: Holly, 1)
COURSE 4 (SME: Holly, 1)
What i want to do is have a column that indicates when a SME is unique for a course. If I can determine when a SME is unique for a xourse, I can automate a payment process.
Tara is listed as SME for both modalities of Course 1, but it should only indicate she is the only SME. Whereas, Greg and Holly are unique for Course 3. Each should be paid.
I added a 1 and 0 for each SME which could be the result displayed via a formula. 1 means the SME is unique and should be paid a stipend, either for 1 or 2 modalities for a course. 0 means they are the same SME for a course, so they get 1 stipend.
John gets a stipend as he is the only SME for Course 1. Holly gets two stipends, even though her name appears twice because they are different courses. Greg, like Tara, gets one stipend, even though their names appear twice, but they are the same course. However, Holly gets one too for the same course because she is doing a different modality.
All four courses are different. Each modality within a course is different.
If a course has modalities on subsequent rows, they are children of thr parent row (course). If a course has just one row, it has no children.
Any thoughts?