formula for moving text to colums

RAYART

New Member
Joined
Aug 10, 2013
Messages
5
HI Guys
I am looking for a formula that can do this:
if row contains the word "center" move it column named "school"
if row contains the word "street "move it column named "street"
this is the data I have:
row1: Miami k-8 center
row2: 2301 NW 87 street
row3: Miami, Fl 33166
row 4: kendall k-8 center
row 5: 8200 SW 8 street
row 6: Miami, Fl 33185
etc etc

<tbody>
</tbody>


<tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Assuming that above data is in Row A2:A7, Column Header in B1 = Center & C1 = Street.

Put the formula with thew above setting in Cell B2, and drag down and across.

=IF(ISNUMBER(SEARCH(B$1,$A2)),$A2,"")

Deep :)
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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