Can you separate a cells text into different columns based on criteria?

HockeyDiablo

Board Regular
Joined
Apr 1, 2016
Messages
182
A
1 TAGS_NAME
B
TAGS
C
NAME
2 Holly, BillingBillingHolly
3 UncategorizedUncategorized
4 James James
5 UncategorizedUncategorized
6 Existing Service, 7 HollyExisting ServiceHolly
8 Holly, WalkinWalkinHolly
9 WalkInWalkin

<colgroup><col><col><col></colgroup><tbody>
</tbody>


Is there a way to place the correct texts from column A and place it in the appropriate column "b&c" based on if they are a TAG or NAME??

I cant seem to put my finger on it, seems easy but I cant quite gather the proper logic.

Thanks
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I placed the list of my Tags on V1 to V9

=IFERROR(LOOKUP(2^15,SEARCH($V$1:$V$9,A10),$V$1:$V$9),"")



I placed the list of my Names on U1 to U9

=IFERROR(LOOKUP(2^15,SEARCH($U$1:$U$9,A10),$U$1:$U$9),"")
 
Upvote 0

Forum statistics

Threads
1,215,588
Messages
6,125,691
Members
449,250
Latest member
azur3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top