VBA to Split Text from table column to multiple Columns

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Hi folks,

Any help as always appreciated. I might be just searching wrong, but I cant find anything I can tailor to my needs. They all refer to specific cell references instead of table. Likewise the Textsplit formula wont work as its in a table and you get a "spill error"

Basically i would like to take text thats in the format belwo, in a table column then split to different columns in the table.

Text Format
Dave Hambleton > Emily Blunt > Bob Sinclar > Tom Cruise (note there is a max of six names here all separated by ">")

These names are stored in table named "Master", Column named "Reporting Line".

They should be output to columns 4,5,6,7,8,9 in the table these columns are called LM1, LM2, LM3, LM4, LM5, LM6 respectively.

I get the feeling this should be so easy, but i cant get it to work.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Likewise the Textsplit formula wont work as its in a table and you get a "spill error"
Simplest (and IMO the best) solution is to convert the Table to a range & then the formula can spill.
 
Upvote 0

Forum statistics

Threads
1,215,132
Messages
6,123,227
Members
449,091
Latest member
jeremy_bp001

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