Is This Possible?

Infinity

New Member
Joined
Jul 28, 2003
Messages
5
I had a problem yesterday and you all helped me solve it! Thanks much.

Now another one. I don't know if this is possible or a really dumb question so bear with me.

I have this HUGE spreadsheet. It has a column with information, such as:
Wladyslaw Stanislaw Reymont, Poland, novelist
Jan R Slotemaker de Bruane, Dutch clergyman/politician
Joseph Cuvelier, Belgian historian/archivist
Amedos Peter Giann San Jose, CA, founded Bank of America
John McClutcheon, cartoonist
August Reusner, composer
Chi Morgenstern, writer

The next column will state which Category each cell falls into:
For example:
History & Politics
Literature & Theater
Music, etc.

Is it possible to write something that states "If cell has 'composer' in it, then type "Music" in following cell? And so forth? I know this will not work 100% because of the wording of some cells however I have probably 50,000 entries and would LOVE not to have to type each one by hand.

Any suggestions?
Thanks in advance,
Infinity :cool:
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You could use the Excel function Search() like, =If(IsError(Search(Upper(A1),"COMPOSER")),"","Music"). But that's gonna be a pain to do for multiple criteria/categories.

I'd probably go with using Data | Filter | Autofilter and setting the criteria to Custom and using the "Contains" option. Then once autofilter has filtered for you, highlight the cells you want to fill, type in your value in the ActiveCell and hit Ctrl+Enter to fill all the cells simultaneously.

HTH
 
Upvote 0
I might be tempted to do Data / Text to Columns / Delimited and select comma as the delimiter. Then select your data and sort based on the occupation. This will at least group the entries by occupation, and will help you out with variances in spelling etc.

- Kevin
 
Upvote 0

Forum statistics

Threads
1,214,586
Messages
6,120,402
Members
448,958
Latest member
Hat4Life

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