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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,216,113
Messages
6,128,905
Members
449,477
Latest member
panjongshing

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