Hi all,
I have data that looks like this
user
service
consultant
jack@gmail.com
Meeting
Jill, Jones, Jack
jane@gmail.com
Analysis
Jill
ana@gmail.com
Consult
Jones, Jack
I want data that looks like this
user
service
consultant
jack@gmail.com
Meeting
Jones
jack@gmail.com
Meeting
Jack
ana@gmail.com
Analysis
Jones
ana@gmail.com
Analysis
Jack
There are a few parts of this, 1) I want to remove Jill 2) I want to break out when one service has multiple consultants assigned, I want to break them up so that I can analyze each consultant's workload. I have tried to break it out by using this but it's not working
if consultant = 'Jill' then consultant = '';
SUB = 'Jill';
STR_LEN = length(consultants);
SUB_LEN = length(SUB);
POS = find(consultants,SUB,-STR_LEN);
consultant = kupdate(STR,POS,SUB_LEN+1);
I appreciate any insight you all have.
Thanks!!
... View more