Split Cell Range into Multiple Cells

W

Willie

I have a cell range (A1:A4) that contains the following information

When Assigned Organization is XYZ, change Assigned POC to Black, Jack,
change Assigned Alt. POC to Doe, Jane, and change Substitute POC to
White, Jack
When Assigned Department is X-A/7, change Assigned POC to Young, Jim,
change Assigned Alt. POC to Brown, Frank, and change Substitute POC to
Stewart, Rod
When Assigned Group is X-B (XMO/ABC), change Assigned POC to Simon,
Paul, change Assigned Alt. POC to Bowie, David, and change Substitute
POC to Miller, Steve
When Assigned Staff is Staffing Personnel (SP), change Assigned POC to
Simon, Paul, change Assigned Alt. POC to Bowie, David, and change
Substitute POC to Miller, Steve

I need to split this cell range into several different columns. I
need cells B1:B4 to contain the string of characters between “When”
and “is”. For example, B1:B4 will contain the following:

Assigned Organization
Assigned Department
Assigned Group
Assigned Staff

I need cells C1:C4 to contain the string of characters between “is”
and the first “,”. C1:C4 will contain the following:
XYZ
X-A/7
X-B (XMO/ABC)
Staffing Personnel (SP)

D1:D4 will contain the “Assigned POC”. E1:E4 will contain the
“Assigned Alt. POC” and F1:F4 will contain the “Substitute POC”

I’ve tried the RIGHT, LEFT, LEN and FIND functions but I can’t get the
correct combination to solve this. Can anyone help?

Thanks for your help in advance
 
D

Don Guillett

I would suggest a macro using selectcase. Send file to dguillett1
@gmail.com with this msg and examples
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top