Nanogirl21
Active Member
- Joined
- Nov 19, 2013
- Messages
- 331
- Office Version
- 365
- Platform
- Windows
I have data set up in the format below.
You will see that there are duplicate values in column B and some duplicate values in column C.
Is there a way to list the parent value (column B) when all child values (column C) related to that parent says “Chris”?
I’d like the list to be on a new sheet called COMPLETE. This sheet is not created yet and would need to be created each time. The main sheet that the information is in is called MATH.
CURRENT FORMAT
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1232
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1233
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1234
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1235
[/TD]
[TD]PEARS
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1236
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1237
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1238
[/TD]
[TD]APPLES
[/TD]
[TD]ANGELA
[/TD]
[/TR]
[TR]
[TD]1239
[/TD]
[TD]BANANAS
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1240
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1241
[/TD]
[TD]GRAPES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1242
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1243
[/TD]
[TD]GRAPES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1244
[/TD]
[TD]STRAWBERRIES
[/TD]
[TD]TONY
[/TD]
[/TR]
[TR]
[TD]1245
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1246
[/TD]
[TD]WATERMELON
[/TD]
[TD]JANE
[/TD]
[/TR]
[TR]
[TD]1247
[/TD]
[TD]STRAWBERRIES
[/TD]
[TD]JERRY
[/TD]
[/TR]
</tbody>[/TABLE]
RESULTS EXPECTED ON NEW SHEET
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]PEARS
[/TD]
[/TR]
[TR]
[TD]GRAPES
[/TD]
[/TR]
[TR]
[TD]BANANAS
[/TD]
[/TR]
</tbody>[/TABLE]
In my example APPLES, ORANGES, STRAWBERRIES, or WATERMELON did not show on the new sheet becuase alll of the child values (column C) does not say "CHRIS" for the related parent values (Column B).
EXTRA: It would be great to have a version that creates a list on a new sheet without defining the child value (column C) I’m looking for. It would always list the parent value (column B) if the child values (column C) are the same regardless of what the text says.
RESULTS EXPECT FOR EXTRA VERSION
[TABLE="align: left"]
<tbody>[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]PEARS
[/TD]
[/TR]
[TR]
[TD]GRAPES
[/TD]
[/TR]
[TR]
[TD]BANANAS
[/TD]
[/TR]
[TR]
[TD]ORANGES
[/TD]
[/TR]
[TR]
[TD]WATERMELON
[/TD]
[/TR]
</tbody>[/TABLE]
In this version ORANGES and WATERMELON was added to the list becuase all parent values (Column B) has the same child value (Column C).
You will see that there are duplicate values in column B and some duplicate values in column C.
Is there a way to list the parent value (column B) when all child values (column C) related to that parent says “Chris”?
I’d like the list to be on a new sheet called COMPLETE. This sheet is not created yet and would need to be created each time. The main sheet that the information is in is called MATH.
CURRENT FORMAT
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1232
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1233
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1234
[/TD]
[TD]APPLES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1235
[/TD]
[TD]PEARS
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1236
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1237
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1238
[/TD]
[TD]APPLES
[/TD]
[TD]ANGELA
[/TD]
[/TR]
[TR]
[TD]1239
[/TD]
[TD]BANANAS
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1240
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1241
[/TD]
[TD]GRAPES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1242
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1243
[/TD]
[TD]GRAPES
[/TD]
[TD]CHRIS
[/TD]
[/TR]
[TR]
[TD]1244
[/TD]
[TD]STRAWBERRIES
[/TD]
[TD]TONY
[/TD]
[/TR]
[TR]
[TD]1245
[/TD]
[TD]ORANGES
[/TD]
[TD]BIANCA
[/TD]
[/TR]
[TR]
[TD]1246
[/TD]
[TD]WATERMELON
[/TD]
[TD]JANE
[/TD]
[/TR]
[TR]
[TD]1247
[/TD]
[TD]STRAWBERRIES
[/TD]
[TD]JERRY
[/TD]
[/TR]
</tbody>[/TABLE]
RESULTS EXPECTED ON NEW SHEET
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]PEARS
[/TD]
[/TR]
[TR]
[TD]GRAPES
[/TD]
[/TR]
[TR]
[TD]BANANAS
[/TD]
[/TR]
</tbody>[/TABLE]
In my example APPLES, ORANGES, STRAWBERRIES, or WATERMELON did not show on the new sheet becuase alll of the child values (column C) does not say "CHRIS" for the related parent values (Column B).
EXTRA: It would be great to have a version that creates a list on a new sheet without defining the child value (column C) I’m looking for. It would always list the parent value (column B) if the child values (column C) are the same regardless of what the text says.
RESULTS EXPECT FOR EXTRA VERSION
[TABLE="align: left"]
<tbody>[TR]
[TD]A
[/TD]
[/TR]
[TR]
[TD]PEARS
[/TD]
[/TR]
[TR]
[TD]GRAPES
[/TD]
[/TR]
[TR]
[TD]BANANAS
[/TD]
[/TR]
[TR]
[TD]ORANGES
[/TD]
[/TR]
[TR]
[TD]WATERMELON
[/TD]
[/TR]
</tbody>[/TABLE]
In this version ORANGES and WATERMELON was added to the list becuase all parent values (Column B) has the same child value (Column C).