Search and code

irie666

New Member
Joined
Jul 28, 2017
Messages
3
Hello guys, so i have this problem in excel where I need a fomula to sort words separated by commas and code(in this case its coded as 1) them individually in each field.


brown, fox, is, lousy, fox, fox, is, bad, fox -- sample word. this is stored in a single field

so as I separate them below will represent as each individual field in excel. the final output would be something like this
The brown fox is a lousy fox. So that fox is a bad fox
1 1 1 1 1 1 1 1 1

hope this makes sense. Any help would be appreciated :) TYIA
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Have you tried text to columns? It is located in Data -> Text to Columns, you can choose how to seperate words, by commas, space.....
 
Last edited by a moderator:
Upvote 0
I have no trouble on separating the words, the one i need is a formula that can look up to these "brown, fox, is, lousy, fox, fox, is, bad, fox" and code it based on the screen shot. :)
 
Upvote 0

Forum statistics

Threads
1,215,281
Messages
6,124,045
Members
449,139
Latest member
sramesh1024

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