I have a row of data from B3:B11. Each cell contains a list of names seperated by a comma. To make things more complicated though, the names are grouped by department.
For example, the text in B3 looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]All: John Smith, John Smith, John Smith
LOB: John Smith, John Smith
Functional: John Smith[/TD]
[/TR]
</tbody>[/TABLE]
However, the text in B4 looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]All: John Smith, John Smith
HRBP: John Smith, John Smith, John Smith, John Smith[/TD]
[/TR]
</tbody>[/TABLE]
You can see that each cell in column B may have a different department. A list of the departments is:
HR Compliance:
LOB:
All:
Labor Relations:
Functional:
HRBP:
VISA/Immigration:
It would be nice to be to remove those words from the list and then click and drag the formula and it will identify each person's name based off of the comma. Note: the number of names per each department changes so I don't think using any RIGHT/LEFT/MID/LEN functions would work in this case. The formula would need to be more dynamic.
Can this be done with a formula?
For example, the text in B3 looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]All: John Smith, John Smith, John Smith
LOB: John Smith, John Smith
Functional: John Smith[/TD]
[/TR]
</tbody>[/TABLE]
However, the text in B4 looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]All: John Smith, John Smith
HRBP: John Smith, John Smith, John Smith, John Smith[/TD]
[/TR]
</tbody>[/TABLE]
You can see that each cell in column B may have a different department. A list of the departments is:
HR Compliance:
LOB:
All:
Labor Relations:
Functional:
HRBP:
VISA/Immigration:
It would be nice to be to remove those words from the list and then click and drag the formula and it will identify each person's name based off of the comma. Note: the number of names per each department changes so I don't think using any RIGHT/LEFT/MID/LEN functions would work in this case. The formula would need to be more dynamic.
Can this be done with a formula?
Last edited: